Files
sunnypilot/tools/cabana
Dean Lee 2aafd3bf01 cabana: improve UI & fix bugs (#27387)
* improve ui

* keep splitter size after msg changed

* no leading spaces allowed in msg filter and signal filter

* draw color byte AlignCenter

* always set as current index

* reduce chart flickers while resizing

* dispaly more info in tooltip for signal

* narrow combobox

* use  

* typo

* private sigs,fix bugs

* merge  #27383

* no expanding after undo/redo

* gray color in tooltip

* clear current_msg_id before reset model

* dont call setmeesage if id is the same

* fix bugs

* cleanup

* dont fetch logs if invisible

* add new CenterWidget, make sure msg_id is always valid

* cache icons

* cleanup paint byte color

* merge #27385 implement sizeHint

* cleanup code

* fillrect if alpha>0
old-commit-hash: 4efd246bac
2023-02-20 14:16:30 -08:00
..
2023-02-20 13:15:59 -08:00
2023-02-20 13:15:59 -08:00
2023-02-20 14:16:30 -08:00
2023-02-20 14:16:30 -08: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