openpilot0/selfdrive/debug
Shane Smiskol 93c6e23a42 qlog_size.py: use zstd (#33137)
qlog_size: use zstd
old-commit-hash: 11cb2d3a0b
2024-07-29 20:13:43 -07:00
..
internal qlog_size.py: use zstd (#33137) 2024-07-29 20:13:43 -07:00
README.md
__init__.py
adb.sh
can_print_changes.py use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
can_printer.py ruff: check shadowed variables (#32851) 2024-06-27 14:44:26 -07:00
can_table.py
check_can_parser_performance.py debug/check_can_parser_performance: remove overhead of capnp conversion (#32048) 2024-03-29 10:17:39 -07:00
check_freq.py use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
check_lag.py use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
check_timings.py debug: add summary to check_timings 2024-06-08 21:01:39 -07:00
clear_dtc.py boardd is pandad (#32628) 2024-06-04 19:16:55 -07:00
count_events.py use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
cpu_usage_stat.py boardd is pandad (#32628) 2024-06-04 19:16:55 -07:00
cycle_alerts.py Revert "selfdrive/car: ban imports from external modules" (#32993) 2024-07-15 11:14:04 -07:00
debug_fw_fingerprinting_offline.py debug FW fingerprinting: live support (#32585) 2024-05-31 22:28:03 -07:00
dump.py live_logreader to its own file (#31436) 2024-02-13 13:29:52 -08:00
dump_car_docs.py more car info -> car docs (#31885) 2024-03-17 16:53:57 -07:00
filter_log_message.py debug: print log messages in relative time 2024-02-19 22:33:08 -08:00
fingerprint_from_route.py
format_fingerprints.py use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
get_fingerprint.py boardd is pandad (#32628) 2024-06-04 19:16:55 -07:00
hyundai_enable_radar_points.py boardd is pandad (#32628) 2024-06-04 19:16:55 -07:00
live_cpu_and_temp.py use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
print_docs_diff.py more car info -> car docs (#31885) 2024-03-17 16:53:57 -07:00
print_flags.py print_flags.py: clean up 2024-05-07 15:06:23 -07:00
read_dtc_status.py boardd is pandad (#32628) 2024-06-04 19:16:55 -07:00
run_process_on_route.py tools: keep re pattern file small (#33084) 2024-07-25 22:05:10 -07:00
set_car_params.py
show_matching_cars.py
test_fw_query_on_routes.py revert marking some files as unexecutable (#32613) 2024-06-03 17:19:27 -07:00
toyota_eps_factor.py
uiview.py manager: move to system/ (#32538) 2024-05-25 12:41:17 -07:00
vw_mqb_config.py ruff: enable UP 2024-05-20 17:43:54 -07:00

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.