tsl/selfdrive/debug
Adeeb Shihadeh f18c7e9b9d boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first

* errors

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2d838f95da
2024-05-07 21:36:04 -07:00
..
internal use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08: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 replace custom clock helpers with time module (#29499) 2023-08-20 18:50:58 -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 boardd: add debug flag for injecting SPI errors (#32346) 2024-05-07 21:36:04 -07:00
clear_dtc.py CI: Pylint to ruff (#29294) 2023-08-09 13:26:54 -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 use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
cycle_alerts.py More fingerprint migration fixes (#32018) 2024-03-26 16:43:09 -07:00
debug_fw_fingerprinting_offline.py debug FW query offline: annotate sendcan/can (#32239) 2024-04-17 15:38:05 -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 rename segmentrangereader to logreader (#30981) 2024-01-12 12:53:50 -08:00
format_fingerprints.py use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
get_fingerprint.py
hyundai_enable_radar_points.py HKG: Add FW versions and Enable Radar Tracks for KOR Sonata DN8 Hybrid 2020 (#31371) 2024-03-05 18:08:32 -08: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
run_process_on_route.py run_process_on_route: print log location 2024-03-06 01:04:31 -08:00
set_car_params.py add openpilot prefix to imports (#29498) 2023-08-20 20:49:55 -07:00
show_matching_cars.py add openpilot prefix to imports (#29498) 2023-08-20 20:49:55 -07:00
test_fw_query_on_routes.py Volkswagen: fingerprint on VIN chassis code (#32148) 2024-04-12 22:00:03 -07:00
toyota_eps_factor.py rename segmentrangereader to logreader (#30981) 2024-01-12 12:53:50 -08:00
uiview.py fix uiview (#32290) 2024-04-24 17:05:18 -07:00
vw_mqb_config.py Encode the actual current date in vw_mqb_config.py (#32093) 2024-04-10 15:22:36 -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.