openpilot0/selfdrive/debug
Dean Lee 6fc14b5b93
selfdrive/debug: fix broken check_can_parser_performance.py (#33908)
* fix check_can_parser_performance.py

* no difference

* this too

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-11-01 16:35:39 -07:00
..
car move selfdrive/car to opendbc (#32630) 2024-08-17 00:54:51 -07:00
internal move selfdrive/car to opendbc (#32630) 2024-08-17 00:54:51 -07:00
README.md
__init__.py
adb.sh fix bash + python3 shebangs (#33287) 2024-08-13 21:22:13 -07:00
can_print_changes.py
can_printer.py ruff: check shadowed variables (#32851) 2024-06-27 14:44:26 -07:00
can_table.py
check_can_parser_performance.py selfdrive/debug: fix broken check_can_parser_performance.py (#33908) 2024-11-01 16:35:39 -07:00
check_freq.py
check_lag.py
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 controlsd: split up publishing and logic (#33483) 2024-09-05 16:28:57 -07:00
cpu_usage_stat.py boardd is pandad (#32628) 2024-06-04 19:16:55 -07:00
cycle_alerts.py Deprecate car onroadEvents (#33687) 2024-10-03 15:20:58 -07:00
debug_fw_fingerprinting_offline.py debug FW fingerprinting: live support (#32585) 2024-05-31 22:28:03 -07:00
dump.py Remove hexdump package (#33155) 2024-07-31 13:34:14 -07:00
dump_car_docs.py move selfdrive/car to opendbc (#32630) 2024-08-17 00:54:51 -07:00
filter_log_message.py
fingerprint_from_route.py tools: print VIN when getting UDS fingerprints from a route (#33750) 2024-10-08 13:41:02 -07:00
format_fingerprints.py Reapply "move car.capnp to opendbc (#33722)" (#33728) 2024-10-03 22:47:03 -07: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
print_docs_diff.py move selfdrive/car to opendbc (#32630) 2024-08-17 00:54:51 -07:00
print_flags.py move selfdrive/car to opendbc (#32630) 2024-08-17 00:54:51 -07:00
read_dtc_status.py boardd is pandad (#32628) 2024-06-04 19:16:55 -07:00
run_process_on_route.py run_process_on_route.py: use zstd 2024-08-16 00:08:17 -07:00
set_car_params.py
show_matching_cars.py move selfdrive/car to opendbc (#32630) 2024-08-17 00:54:51 -07:00
test_fw_query_on_routes.py move selfdrive/car to opendbc (#32630) 2024-08-17 00:54:51 -07:00
toyota_eps_factor.py move selfdrive/car to opendbc (#32630) 2024-08-17 00:54:51 -07:00
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.