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
-
Go to the web page
-
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
-
Find a route within connect
-
With a route open, click More info in the middle right
-
If it says "missing logs", click upload. This will make the comma device upload the respective log files.
-
Click View in cabana
Sharing Cabana Links
If you need to share a link to a route in Cabana, do the following:
-
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.
-
Click make public
-
Open the route in connect (there is a link to do this right next to make public)
-
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.