Skip to content

Latest commit

 

History

History
94 lines (82 loc) · 4.79 KB

README.md

File metadata and controls

94 lines (82 loc) · 4.79 KB

Smart Roadster Openpilot Fork

Hardware Setup:

  • Braking: Tesla Model S/X iBooster
  • Throttle: Ocelot throttle interceptor
  • Steering: Custom EPAS ECU
  • Radar: Ford Focus ST
  • Harness/Power: Ocelot Distribution Board
  • CAN Bridge: Comma.ai Black Panda
  • Compute Device: Leco LePro 3, 6GB RAM, ABS Case

Modified Files

  • selfdrive>opendbc
  • selfdrive>car>ocelot
  • selfdrive>ui>qt>sidebar.cc
  • selfdrive>ui>qt>widgets>drive_stats.cc
  • selfdrive>ui>qt>widgets>setup.cc
  • selfdrive>athena>registration.py
  • common>api>init.py
  • selfdrive>assets>images/button_home.png
  • panda>SConscript
  • panda>board/boards/black.h
  • selfdrive>controls>lib>events.py

Useful SSH Commands

  • SSH Using Mac:
    • ssh root@ -p 8022 -i “/Users//.ssh/openpilot_rsa”
  • Remove stock OP and install this fork & branch:
  • cd selfdrive/debug ./dump.py
    • carParams
    • carState
    • carControl
    • carEvents
  • cd panda/tests ./debug_console.py
  • Remove GPS logfiles
    • find . -type f -name gps-data* -exec rm {} ;

Directory Structure

.
├── cereal              # The messaging spec and libs used for all logs
├── common              # Library like functionality we've developed here
├── installer/updater   # Manages auto-updates of NEOS
├── opendbc             # Files showing how to interpret data from cars
├── panda               # Code used to communicate on CAN
├── phonelibs           # Libraries used on NEOS devices
├── pyextra             # Libraries used on NEOS devices
└── selfdrive           # Code needed to drive the car
    ├── assets          # Fonts, images and sounds for UI
    ├── athena          # Allows communication with the app
    ├── boardd          # Daemon to talk to the board
    ├── camerad         # Driver to capture images from the camera sensors
    ├── car             # Car specific code to read states and control actuators
    ├── common          # Shared C/C++ code for the daemons
    ├── controls        # Perception, planning and controls
    ├── debug           # Tools to help you debug and do car ports
    ├── locationd       # Soon to be home of precise location
    ├── logcatd         # Android logcat as a service
    ├── loggerd         # Logger and uploader of car data
    ├── modeld          # Driving and monitoring model runners
    ├── proclogd        # Logs information from proc
    ├── sensord         # IMU / GPS interface code
    ├── test            # Unit tests, system tests and a car simulator
    └── ui              # The UI

Licensing

openpilot is released under the MIT license. Some parts of the software are released under other licenses as specified.

Any user of this software shall indemnify and hold harmless comma.ai, Inc. and its directors, officers, employees, agents, stockholders, affiliates, subcontractors and customers from and against all allegations, claims, actions, suits, demands, damages, liabilities, obligations, losses, settlements, judgments, costs and expenses (including without limitation attorneys’ fees and costs) which arise out of, relate to or result from any use of this software by user.

THIS IS ALPHA QUALITY SOFTWARE FOR RESEARCH PURPOSES ONLY. THIS IS NOT A PRODUCT. YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS. NO WARRANTY EXPRESSED OR IMPLIED.


openpilot tests Total alerts Language grade: Python Language grade: C/C++ codecov