mirror of
https://github.com/infiniteCable2/opendbc.git
synced 2026-02-19 05:23:56 +08:00
fa1d7e7c16eb00a6db2b86106cea3cc6d4fe61f7
* test * test * test * make sure to detect subdirectories like tests/ * test * this should work * this should work * wtf is this * test * clean up * test * test * clean up * clean up
opendbc
opendbc is a Python API for your car. Read the speed, steering angle, and more. Send gas, braking, and steering commands.
Structure
opendbc/dbc/is a repository of DBC filesopendbc/can/is a library for parsing and building CAN messages from DBC filesopendbc/car/is a high-level library for interfacing with cars using Python
Quick start
git clone https://github.com/commaai/opendbc.git
cd opendbc
# Install the dependencies
pip3 install -e .[testing,docs]
# Build
scons -j8
# Run the tests
pytest .
# Run the linter
pre-commit run --all-files
Languages
Python
79.3%
C
12.5%
Shell
7.2%
Cap'n Proto
1%