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.
 
 
 
 
 
 
Cameron Clough 23a4e66b17 configure mypy outside of pre-commit environment (#25892) 3 years ago
..
internal pre-commit: add codespell (#25571) 3 years ago
profiling ftrace profiling script 3 years ago
README.md pre-commit: add codespell (#25571) 3 years ago
__init__.py selfdrive/debug 5 years ago
adb.sh remove comma two support (#24248) 3 years ago
can_print_changes.py add table support 3 years ago
can_printer.py can_printer: add frequency 3 years ago
can_table.py add pandas and tabulate packages (#25076) 3 years ago
check_freq.py configure mypy outside of pre-commit environment (#25892) 3 years ago
check_lag.py remove mypy ignore from a few scripts 3 years ago
check_timings.py configure mypy outside of pre-commit environment (#25892) 3 years ago
clear_dtc.py script to read DTC status 3 years ago
count_events.py count_events improvements 3 years ago
cpu_usage_stat.py pre-commit: add codespell (#25571) 3 years ago
cycle_alerts.py show which cameras are malfunctioning (#24558) 3 years ago
dump.py Fix spelling in dump.py help output (#24381) 3 years ago
dump_car_info.py compatibility docs: print diff from PR (#24941) 3 years ago
filter_log_message.py remove debug print 3 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 pre-commit: add codespell (#25571) 3 years ago
live_cpu_and_temp.py live_cpu_and_temp: handle duplicate proc names 3 years ago
print_docs_diff.py Car docs diff bot: auto-generate column header (#25622) 3 years ago
read_dtc_status.py script to read DTC status 3 years ago
run_process_on_route.py add mypy check for return-any (#24379) 3 years ago
sensor_data_to_hist.py sensord: use interrupts to improve LSM6DS3 timing accuracy (#24525) 3 years ago
set_car_params.py single longitudinal toggle for e2e and disable radar (#25688) 3 years ago
show_matching_cars.py pylint: enforce indentation (W0311) (#24039) 3 years ago
test_car_model.py Silence a PytestCollectionWarning (#25537) 3 years ago
test_fw_query_on_routes.py test_fw_query_on_routes: find first non-none path (#25628) 3 years ago
toyota_eps_factor.py MultiLogIterator: remove wraparound mode (#23360) 3 years ago
uiview.py uiview: show model (#24210) 3 years ago
vw_mqb_config.py VW MQB: Added support for APA racks to EPS configuration tool (#25556) 3 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 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.