Skip to main content

apollo dbc tool

Project description

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

  • opendbc is a project that opens the vehicle dbc protocol.
  • openvehicles is an open car project that contains any vehicle information you want to know.
  • whl-vehicles Apollo vehicle protocols based by opendbc.

Quick start

Install

You can install adbctool by following cmd.

pip3 install adbctool

Example

Generate c++ code based on dbc file.

  • vehicle dbc file : vehicle's dbc file
  • vehicle type: vehicle type
  • sender: the sender of the message, the control protocol template will be used for sender
# adbctool -f <vehicle.dbc> -t <vehicle_type> --sender <sender>
adbctool -f test/acura_ilx_2016_nidec.dbc -t acura_ilx --sender ADAS

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adbctool-0.1.3.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adbctool-0.1.3-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file adbctool-0.1.3.tar.gz.

File metadata

  • Download URL: adbctool-0.1.3.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for adbctool-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0969eb8e20b41ab0d44e61e0213d7b4a11b87757cadc5980b962ad1a6cdcd0db
MD5 1726d5aa59c8ca8ef850d42e0d756ba0
BLAKE2b-256 507879b433578225370c7691804ce293cde107702e67583131118af4f18387b8

See more details on using hashes here.

File details

Details for the file adbctool-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: adbctool-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for adbctool-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9739b7f7ce597affcaf3bb851729ff23728bbcb16f501952798c37b9fd817a6b
MD5 22fcd3490a6e011760c62504bf3b4ef9
BLAKE2b-256 e0e66ed4cc88bc394adc09c3e86ed921b948f054b3d5a74fe3e53103d7802b73

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page