openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Adeeb Shihadeh 2e291cdddb profiler setup 3 years ago
..
internal Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305) 3 years ago
profiling profiler setup 3 years ago
README.md add some docs for selfdrive/debug 4 years ago
__init__.py selfdrive/debug 5 years ago
adb.sh bringing the android to agnos 3 years ago
can_print_changes.py Script to print new bitflips on CAN (#21294) 4 years ago
can_printer.py can_printer.py: default no ascii 3 years ago
check_freq.py Convert format strings strings to f-strings (#23241) 3 years ago
check_lag.py Run mypy commit hook (#1591) 5 years ago
check_timings.py tici: affine loggerd to efficiency cores (#22581) 4 years ago
compare_fingerprints.py Update Flake8 config (#1624) 5 years ago
count_events.py count_events: handle missing logs 4 years ago
cpu_usage_stat.py Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305) 3 years ago
cycle_alerts.py alerts: escalate soft disable alert near disengagement (#23198) 3 years ago
disable_ecu.py Hyundai longitudinal prerequisites (#22121) 4 years ago
dump.py Convert format strings strings to f-strings (#23241) 3 years ago
filter_log_message.py RobustLogReader that can recover corrupted bz2 files (#22835) 4 years ago
fingerprint_from_route.py MultiLogIterator: remove wraparound mode (#23360) 3 years ago
get_fingerprint.py Convert format strings strings to f-strings (#23241) 3 years ago
hyundai_enable_radar_points.py hyundai enable radar points script cleanup (#23451) 3 years ago
live_cpu_and_temp.py Convert format strings strings to f-strings (#23241) 3 years ago
run_process_on_route.py MultiLogIterator: remove wraparound mode (#23360) 3 years ago
set_car_params.py fix car params setter script 4 years ago
show_matching_cars.py Update CI tests for CAN fingerprinting deprecation (#21043) 4 years ago
test_fw_query_on_routes.py Make pandaState and safetyMode a list (#22454) 4 years ago
toyota_eps_factor.py MultiLogIterator: remove wraparound mode (#23360) 3 years ago
uiview.py set pandaType in debug scripts (#22897) 4 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 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)