nopenpilot/selfdrive/debug
Adeeb Shihadeh 8af20af66d
pylint: enforce indentation (W0311) (#24039)
* pylint: enforce indentation (W0311)

* few more
2022-03-24 23:23:29 -07:00
..
internal Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305) 2021-12-24 11:18:39 -08:00
profiling profiler setup 2022-01-21 21:59:40 -08:00
README.md VW MQB: EPS configuration tool (#23737) 2022-02-10 13:57:12 -08:00
__init__.py selfdrive/debug 2020-01-17 11:23:21 -08:00
adb.sh bringing the android to agnos 2022-01-21 21:25:23 -08:00
can_print_changes.py add table support 2022-03-10 17:54:13 -08:00
can_printer.py can_printer.py: default no ascii 2022-01-13 15:50:50 +01:00
can_table.py add table support 2022-03-10 17:54:13 -08:00
check_freq.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
check_lag.py Run mypy commit hook (#1591) 2020-05-28 15:05:04 -07:00
check_timings.py tici: affine loggerd to efficiency cores (#22581) 2021-10-18 13:21:24 -07:00
clear_dtc.py script to clear DTCs 2022-02-22 16:15:39 -08:00
compare_fingerprints.py Update Flake8 config (#1624) 2020-06-03 16:13:34 -07:00
count_events.py count_events: handle missing logs 2021-10-25 10:25:23 -07:00
cpu_usage_stat.py Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305) 2021-12-24 11:18:39 -08:00
cycle_alerts.py alerts: escalate soft disable alert near disengagement (#23198) 2021-12-11 17:07:37 -08:00
disable_ecu.py Hyundai longitudinal prerequisites (#22121) 2021-09-13 22:03:08 -07:00
dump.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
filter_log_message.py RobustLogReader that can recover corrupted bz2 files (#22835) 2021-11-10 16:41:00 +01:00
fingerprint_from_route.py MultiLogIterator: remove wraparound mode (#23360) 2022-01-02 15:16:44 -08:00
get_fingerprint.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
hyundai_enable_radar_points.py hyundai enable radar points script cleanup (#23451) 2022-01-08 07:55:48 -08:00
live_cpu_and_temp.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
run_process_on_route.py MultiLogIterator: remove wraparound mode (#23360) 2022-01-02 15:16:44 -08:00
set_car_params.py fix car params setter script 2021-06-01 20:59:03 -07:00
show_matching_cars.py pylint: enforce indentation (W0311) (#24039) 2022-03-24 23:23:29 -07:00
test_fw_query_on_routes.py Subaru: add FW for Impreza Limited UDM 2017 (#23802) 2022-02-22 12:17:48 +01:00
toyota_eps_factor.py MultiLogIterator: remove wraparound mode (#23360) 2022-01-02 15:16:44 -08:00
uiview.py set pandaType in debug scripts (#22897) 2021-11-13 11:54:29 -08:00
vw_mqb_config.py VW MQB: EPS configuration tool (#23737) 2022-02-10 13:57:12 -08: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 communcation 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 two or 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.