daohu527 / adbctool

apollo dbc tool
Apache License 2.0
2 stars 2 forks source link
apollo autonomous-car autonomous-driving autonomous-vehicles vehicle-dbc

Gen Vehicle Protocol Tool

adbctool is a convinent tool to let you quickly generate a nearly complete code for a new vehicle for Apollo.

You only have to do is to have the dbc file (which is a communication protocol for the car, which is usually made by the vehicle integrated company), and write a less 10 lines config for generate an encode/decode.

How to get vehicle's DBC file

Quick start

Install

You can install adbctool by following cmd.

pip3 install adbctool

Example

Generate c++ code based on dbc file.

# adbctool -f vehicle.dbc -t vehicle_type
adbctool -f test/acura_ilx_2016_nidec.dbc -t acura_ilx