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.4.tar.gz (22.0 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.4-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adbctool-0.1.4.tar.gz
  • Upload date:
  • Size: 22.0 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.4.tar.gz
Algorithm Hash digest
SHA256 3a26fc2f30fcd4784d56836f889cbfd45e6c9f4c3fb8eb2d7f0cce0c058f4124
MD5 880652cb73474e8b17ee4d2b7d03a329
BLAKE2b-256 30c57a48189a624c3e7483f80d7952cdcee602b9a0f62596dca1fb458dfbccab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adbctool-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 33.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ecc501a5e1e2e91a495fe8c176a6ffb60c36b5e06aede841dddaae390fbc20
MD5 23776d74591c81be0304db806c0d6270
BLAKE2b-256 abffbd0629ccbbd84898cec7006a0c7a56b5e6a24238b17f1e3bdecd9a437336

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