Files
StarPilot/tools/cabana
Willem Melching e0ba3902df cabana: add support for multiple DBC files (#27435)
* split out dbc file logic into separate file

* emit dbc file changed

* change to list of dbc files

* handle missing DBC file

* dbcmanager emits signal

* close existing files before loading new one

* add placeholder open for bus menu

* implement open dbc for bus

* emit signals relevant for current dbc

* move logic into findDBC

* fix use after free

* show currently loaded names in load dialog

* enable/disable load save menus

* handle saving

* add save as to recents

* handle file already open

* do not assert

* fix return and throw on file open error

* fix test maybe

* remove todo

* typo

* fix new dbc

* fix loading fingerprint on macos

* handle replacing a currently open dbc

* fix reference and handle exception

* fix indendation
old-commit-hash: 4ab2131ec9e21d9784f2f423bd6b21c9914cd661
2023-03-27 10:29:44 -07:00
..
2023-02-20 13:15:59 -08:00
2023-02-20 13:15:59 -08:00
2023-03-25 16:03:16 -07:00
2023-03-25 16:03:16 -07:00

Cabana

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.

Usage Instructions

$ ./cabana -h
Usage: ./_cabana [options] route

Options:
  -h, --help             Displays this help.
  --demo                 use a demo route instead of providing your own
  --qcam                 load qcamera
  --ecam                 load wide road camera
  --stream               read can messages from live streaming
  --zmq <zmq>            the ip address on which to receive zmq messages
  --data_dir <data_dir>  local directory with routes
  --no-vipc              do not output video
  --dbc <dbc>            dbc file to open

Arguments:
  route                  the drive to replay. find your drives at
                         connect.comma.ai

See openpilot wiki