Cabana - nasser2019/CommaAi GitHub Wiki

Cabana is a tool developed to view raw CAN data. One use for this is creating and editing CAN Dictionaries (DBC files), and the tool provides direct integration with commaai/opendbc (a collection of DBC files), allowing you to load the DBC files direct from source, and save to your fork. In addition, you can load routes from comma connect.

Opening a Route

  1. Go to the web page

  2. Sign in with one of the providers

    • If you want to save edited DBC files to your fork of opendbc on GitHub, press the Log in with GitHub button in the top right
  3. Find a route within connect

  4. With a route open, click More info in the middle right

  5. If it says "missing logs", click upload. This will make the comma device upload the respective log files.

  6. Click View in cabana

    image

Sharing Cabana Links

If you need to share a link to a route in Cabana, do the following:

  1. In useradmin, log in and open the route

    • You may want to preserve the route, which will make sure it isn't deleted. On useradmin homepage, click preserve next a route.
  2. Click make public

    image

  3. Open the route in connect (there is a link to do this right next to make public)

  4. Follow the above instructions to Open a Route

Reverse Engineering Your Car

One big purpose of Cabana is to discover new CAN messages and signals.

A good way to go about this is to use the can_bit_transition.py script in the panda repo. The idea with this script is that, provided logs downloaded from Cabana, you can quickly locate a specific bit flip.