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.

79 lines
2.1 KiB

openpilot tools
5 years ago
============
System requirements
5 years ago
============
openpilot is developed and tested on **Ubuntu 20.04**, which is the primary development target aside from the [supported embdedded hardware](https://github.com/commaai/openpilot#supported-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.
5 years ago
Setup
============
1. Clone openpilot into home directory:
```
cd ~
5 years ago
git clone --recurse-submodule https://github.com/commaai/openpilot.git
```
2. Run setup script:
5 years ago
Ubuntu:
5 years ago
```
openpilot/tools/ubuntu_setup.sh
5 years ago
```
MacOS:
```
openpilot/tools/mac_setup.sh
```
5 years ago
3. Compile openpilot by running SCons in openpilot directory
```
cd openpilot && scons -j$(nproc)
```
5 years ago
4. Try out some tools!
5 years ago
Tools
============
5 years ago
[Plot logs](plotjuggler)
-------------
Easily plot openpilot logs with [PlotJuggler](https://github.com/facontidavide/PlotJuggler), an open source tool for visualizing time series data.
5 years ago
[Run openpilot in a simulator](sim)
-------------
5 years ago
Test openpilots performance in a simulated environment. The [CARLA simulator](https://github.com/carla-simulator/carla) allows you to set a variety of features like:
* Weather
* Environment physics
* Cars
* Traffic and pedestrians
5 years ago
[Replay a drive](replay)
5 years ago
-------------
Review video and log data from routes and stream CAN messages to your device.
5 years ago
[Debug car controls](carcontrols)
-------------
Use a joystick to control your car.
5 years ago
Welcomed contributions
=============
* Documentation: code comments, better tutorials, etc..
* Support for other platforms other than Ubuntu 20.04.
5 years ago
* Performance improvements: the tools have been developed on high-performance workstations (12+ logical cores with 32+ GB of RAM), so they are not optimized for running efficiently. For example, `ui.py` might not be able to run real-time on most PCs.
* More tools: anything that you think might be helpful to others.
![Imgur](https://i.imgur.com/IdfBgwK.jpg)