Adeeb Shihadeh 7c96e7876a cleanup panda types everywhere (#26574) 1 year ago
..
internal 35ff65121e pre-commit: add codespell (#25571) 2 years ago
profiling 8abd24a15e ftrace profiling script 2 years ago
README.md 35ff65121e pre-commit: add codespell (#25571) 2 years ago
__init__.py 2048a6e3d3 selfdrive/debug 4 years ago
adb.sh 5a9644261f remove comma two support (#24248) 2 years ago
can_print_changes.py b63326c89a Hyundai: common CAN-FD brake pressed signal (#26170) 2 years ago
can_printer.py 5e03fb3de5 can_printer: add frequency 2 years ago
can_table.py 8b81a3ac2f add pandas and tabulate packages (#25076) 2 years ago
check_freq.py 23a4e66b17 configure mypy outside of pre-commit environment (#25892) 2 years ago
check_lag.py 2445fdc4d0 remove mypy ignore from a few scripts 2 years ago
check_timings.py 60cb813af5 ui: publish draw times + add test (#26119) 2 years ago
clear_dtc.py d5ed366b69 script to read DTC status 2 years ago
count_events.py 262839b534 count_events improvements 2 years ago
cpu_usage_stat.py 35ff65121e pre-commit: add codespell (#25571) 2 years ago
cycle_alerts.py a6bcd14abd show which cameras are malfunctioning (#24558) 2 years ago
dump.py 576ae03e43 Fix spelling in dump.py help output (#24381) 2 years ago
dump_car_info.py c862387703 compatibility docs: print diff from PR (#24941) 2 years ago
filter_log_message.py 01c2070a59 remove debug print 2 years ago
fingerprint_from_route.py c036e64c86 MultiLogIterator: remove wraparound mode (#23360) 2 years ago
get_fingerprint.py a962365292 Convert format strings strings to f-strings (#23241) 2 years ago
hyundai_enable_radar_points.py 35ff65121e pre-commit: add codespell (#25571) 2 years ago
live_cpu_and_temp.py 7c2ef148e6 live_cpu_and_temp: handle duplicate proc names 2 years ago
print_docs_diff.py 6d188f95a4 Car docs diff bot: auto-generate column header (#25622) 2 years ago
read_dtc_status.py d5ed366b69 script to read DTC status 2 years ago
run_process_on_route.py 2dfba97175 add mypy check for return-any (#24379) 2 years ago
sensor_data_to_hist.py fb06d2769f Sensor events splitup (#25714) 2 years ago
set_car_params.py e4f9781c17 single longitudinal toggle for e2e and disable radar (#25688) 2 years ago
show_matching_cars.py bd71c594a2 pylint: enforce indentation (W0311) (#24039) 2 years ago
test_car_model.py 8177163c09 Silence a PytestCollectionWarning (#25537) 2 years ago
test_fw_query_on_routes.py 7c96e7876a cleanup panda types everywhere (#26574) 1 year ago
toyota_eps_factor.py c036e64c86 MultiLogIterator: remove wraparound mode (#23360) 2 years ago
uiview.py d2edbf520b uiview: show model (#24210) 2 years ago
vw_mqb_config.py 5812735bbe VW MNB: Add EPS config script support (#26007) 2 years ago

README.md

debug scripts

can_printer.py

usage: can_printer.py [-h] [--bus BUS] [--max_msg MAX_MSG] [--addr ADDR]

simple CAN data viewer

optional arguments:
  -h, --help         show this help message and exit
  --bus BUS          CAN bus to print out (default: 0)
  --max_msg MAX_MSG  max addr (default: None)
  --addr ADDR

dump.py

usage: dump.py [-h] [--pipe] [--raw] [--json] [--dump-json] [--no-print] [--addr ADDR] [--values VALUES] [socket [socket ...]]

Dump communication sockets. See cereal/services.py for a complete list of available sockets.

positional arguments:
  socket           socket names to dump. defaults to all services defined in cereal

optional arguments:
  -h, --help       show this help message and exit
  --pipe
  --raw
  --json
  --dump-json
  --no-print
  --addr ADDR
  --values VALUES  values to monitor (instead of entire event)

vw_mqb_config.py

usage: vw_mqb_config.py [-h] [--debug] {enable,show,disable}

Shows Volkswagen EPS software and coding info, and enables or disables Heading Control
Assist (Lane Assist). Useful for enabling HCA on cars without factory Lane Assist that want
to use openpilot integrated at the CAN gateway (J533).

positional arguments:
  {enable,show,disable}
                        show or modify current EPS HCA config

optional arguments:
  -h, --help            show this help message and exit
  --debug               enable ISO-TP/UDS stack debugging output

This tool is meant to run directly on a vehicle-installed comma three, with
the openpilot/tmux processes stopped. It should also work on a separate PC with a USB-
attached comma panda. Vehicle ignition must be on. Recommend engine not be running when
making changes. Must turn ignition off and on again for any changes to take effect.