19d962cdf3
* initial commit, works * remove nui * working again * visionipc * cleanup * cleanup * moving VisionIpcServer to Unlogger class * works * tab cleanup * headless mode * headless mode works * working headless mode * gitignore update * small unlogger refactor * refactor param in UIState * works, very slow, hacks * cleanup * works * cleanup * cleanup * unused * works for whole route * nicer * a little nicer * different threshold * maintains 1 segment window * works with public api * comments * networkTimer works * cleanup * unified HttpRequest * tabs * tabs * comments' * gitignore * gitignore * only on PC * same line else * no changes in home.cc * scons * update scons * works * revert mainc.c * revert home * else * just api + problem with api send * works * include cleanup * general json fail * whitespace * remove active * adding request repeater * removing comments * tabs * update comment * cereal * fix * trailing new lines * grammar * if whitespace * indentation * Update selfdrive/ui/SConscript Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * Update selfdrive/ui/qt/request_repeater.cc Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * works * sort by dir * no blockSignal * replay is now QOBject * cant take const char * rename inner it * get width and height from frame readeR * resolve TODO * seek in next pr * spaces * ui stuff * fix CI * remove comments * no repalce * trim segment fix * remove seek from stream * no cache key * final changes' * fix Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> |
||
---|---|---|
.. | ||
carcontrols | ||
clib | ||
lib | ||
plotjuggler | ||
replay | ||
scripts | ||
sim | ||
ssh | ||
webcam | ||
zookeeper | ||
README.md | ||
__init__.py | ||
mac_setup.sh | ||
openpilot_build.sh | ||
openpilot_env.sh | ||
ubuntu_setup.sh |
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
- Clone openpilot into home directory:
cd ~
git clone --recurse-submodule https://github.com/commaai/openpilot.git
- Run setup script:
Ubuntu:
openpilot/tools/ubuntu_setup.sh
MacOS:
openpilot/tools/mac_setup.sh
- Compile openpilot by running SCons in openpilot directory
cd openpilot && scons -j$(nproc)
- 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 other platforms other than Ubuntu 20.04.
- 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.