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 a94bb2bcff update replay segment 5 years ago
..
README.md selfdrive/test 5 years ago
__init__.py selfdrive/test 5 years ago
camera_replay.py update replay segment 5 years ago
compare_logs.py Write orientation & transform in C++ (#1637) 5 years ago
inject_model.py enable flake8 E303: too many blank lines 5 years ago
model_ref_commit Nissan port - dashcam only (#1203) 5 years ago
model_replay_ref_commit update replay segment 5 years ago
process_replay.py recover EON/C2 AF (#1665) 5 years ago
ref_commit Add Hyundai BSM signals (#1782) 5 years ago
test_processes.py Make pylint more strict (#1626) 5 years ago
update_model.py Model + camerad test (#1622) 5 years ago
update_refs.py Model + camerad test (#1622) 5 years ago

README.md

process replay

Process replay is a regression test designed to identify any changes in the output of a process. This test replays a segment through individual processes and compares the output to a known good replay. Each make is represented in the test with a segment.

If the test fails, make sure that you didn't unintentionally change anything. If there are intentional changes, the reference logs will be updated.

Use test_processes.py to run the test locally.

Currently the following processes are tested:

  • controlsd
  • radard
  • plannerd
  • calibrationd

Forks

openpilot forks can use this test with their own reference logs

To generate new logs:

./update-refs.py --no-upload

Then, check in the new logs using git-lfs. Make sure to also include the updated ref_commit file.