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.
 
 
 
 
 
 
Shane Smiskol a14bcb5461 fix static analysis 2 months ago
..
car Bump opendbc (#34525) 3 months ago
README.md pre-commit: add codespell (#25571) 3 years ago
__init__.py selfdrive/debug 5 years ago
can_print_changes.py use pyupgrade to update to new typing syntax (#31580) 1 year ago
can_printer.py [bot] Update Python packages (#34140) 5 months ago
can_table.py add pandas and tabulate packages (#25076) 3 years ago
check_can_parser_performance.py selfdrive/debug: fix broken check_can_parser_performance.py (#34143) 5 months ago
check_freq.py use pyupgrade to update to new typing syntax (#31580) 1 year ago
check_lag.py use pyupgrade to update to new typing syntax (#31580) 1 year ago
check_timings.py debug: add summary to check_timings 11 months ago
clear_dtc.py [bot] Update Python packages (#34664) 2 months ago
count_events.py debug: migrate old logs 5 months ago
cpu_usage_stat.py boardd is pandad (#32628) 11 months ago
cycle_alerts.py Deprecate car onroadEvents (#33687) 7 months ago
debug_fw_fingerprinting_offline.py fix static analysis 2 months ago
dump.py Remove hexdump package (#33155) 9 months ago
dump_car_docs.py move selfdrive/car to opendbc (#32630) 8 months ago
filter_log_message.py debug: print log messages in relative time 1 year ago
fingerprint_from_route.py [bot] Update Python packages (#34140) 5 months ago
format_fingerprints.py Reapply "move car.capnp to opendbc (#33722)" (#33728) 7 months ago
fuzz_fw_fingerprint.py Quick GC pass heading into 2025 (#34330) 4 months ago
get_fingerprint.py [bot] Update Python packages (#34140) 5 months ago
hyundai_enable_radar_points.py [bot] Update Python packages (#34664) 2 months ago
live_cpu_and_temp.py Getting rid of openpilot.common.numpy_fast (#34368) 3 months ago
max_lat_accel.py actuators: rename steer to torque (#34724) 2 months ago
measure_modeld_packet_drop.py Quick GC pass heading into 2025 (#34330) 4 months ago
measure_torque_time_to_max.py Quick GC pass heading into 2025 (#34330) 4 months ago
print_docs_diff.py move selfdrive/car to opendbc (#32630) 8 months ago
print_flags.py move selfdrive/car to opendbc (#32630) 8 months ago
qlog_size.py athena upload: streaming file upload (#34559) 2 months ago
read_dtc_status.py [bot] Update Python packages (#34664) 2 months ago
run_process_on_route.py run_process_on_route.py: use zstd 8 months ago
set_car_params.py add openpilot prefix to imports (#29498) 2 years ago
show_matching_cars.py move selfdrive/car to opendbc (#32630) 8 months ago
test_fw_query_on_routes.py move selfdrive/car to opendbc (#32630) 8 months ago
touch_replay.py cleanup touch_replay (#34305) 4 months ago
toyota_eps_factor.py move selfdrive/car to opendbc (#32630) 8 months ago
uiview.py manager: move to system/ (#32538) 11 months ago
vw_mqb_config.py [bot] Update Python packages (#34664) 2 months 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.