openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
HaraldSchafer a73a820338 Change car controller interface from gas/brake to acceleration (#21911) 4 years ago
..
joystick Fixup joystick (#21129) 4 years ago
lib Less open file permissions (#21922) 4 years ago
plotjuggler Update plotjuggler readme for streaming, and cabana url input (#21938) 4 years ago
replay Change car controller interface from gas/brake to acceleration (#21911) 4 years ago
scripts fix: spelling typos (#21861) 4 years ago
serial add login info to serial readme for c3 (#22016) 4 years ago
sim Change car controller interface from gas/brake to acceleration (#21911) 4 years ago
ssh update ssh readme for c3 4 years ago
webcam update to python 3.8.5 (#20217) 4 years ago
zookeeper use same env variable for loggerd, deleter, and uploader 4 years ago
README.md fix typo 4 years ago
__init__.py merge in tools 5 years ago
mac_setup.sh fix mac setup script for zsh (#20708) 4 years ago
openpilot_build.sh build script that uses docker container (#1944) 5 years ago
openpilot_env.sh Fix path issues in ubuntu_setup.sh and openpilot_env.sh (#21380) 4 years ago
ubuntu_setup.sh Fix path issues in ubuntu_setup.sh and openpilot_env.sh (#21380) 4 years ago

README.md

openpilot tools

SSH

Connecting to your comma device using SSH

System requirements

openpilot is developed and tested on Ubuntu 20.04, which is the primary development target aside from the supported embdedded hardware. We also have a CI test to verify that openpilot builds on macOS, but the tools are untested. For the best experience, stick to Ubuntu 20.04, otherwise openpilot and the tools should work with minimal to no modifications on macOS and other Linux systems.

Setup

  1. Clone openpilot into your home directory:
cd ~
git clone --recurse-submodules https://github.com/commaai/openpilot.git
  1. Run the setup script:

Ubuntu:

openpilot/tools/ubuntu_setup.sh

MacOS:

openpilot/tools/mac_setup.sh
  1. Build openpilot by running SCons in the root of the openpilot directory
cd openpilot && scons -j$(nproc)
  1. Try out some tools!

Tools

Plot logs

Easily plot openpilot logs with PlotJuggler, an open source tool for visualizing time series data.

Run openpilot in a simulator

Test openpilots performance in a simulated environment. The CARLA simulator allows you to set a variety of features like:

  • Weather
  • Environment physics
  • Cars
  • Traffic and pedestrians

Replay a drive

Review video and log data from routes and stream CAN messages to your device.

Debug car controls

Use a joystick to control your car.

Welcomed contributions

  • Documentation: code comments, better tutorials, etc
  • Support for platforms other than Ubuntu 20.04
  • Performance improvements
  • More tools: anything that you think might be helpful to others.

Imgur