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.
 
 
 
 
 
 
Willem Melching 85efde269d
bigmodel (#23684)
4 years ago
..
.gitignore
README.md
__init__.py
compare_logs.py compare_logs: catch typeError (#23632) 4 years ago
model_replay.py bigmodel (#23684) 4 years ago
model_replay_ref_commit bigmodel (#23684) 4 years ago
process_replay.py controlsd: only add startup event until initialized (#23671) 4 years ago
ref_commit Longitudinal control: interpolate longitudinal plan (#23787) 4 years ago
regen.py remove community features toggle (#23214) 4 years ago
regen_all.py
test_fuzzy.py
test_processes.py
update_refs.py

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
  • ubloxd

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.