open source driving agent
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.
 
 
 
 
 
 
HaraldSchafer eda6993043
Toyota pedal rewrite (#23067)
3 years ago
..
.gitignore segment regen (#21148) 4 years ago
README.md Process replay for C++ daemons (#2288) 5 years ago
__init__.py selfdrive/test 5 years ago
compare_logs.py delay controls start (#20761) 4 years ago
model_replay.py rename yuv streams (#23071) 3 years ago
model_replay_ref_commit test: Replay both models on C2/C3 (#23019) 4 years ago
process_replay.py process replay: add cx9 route to migration list 4 years ago
ref_commit Toyota pedal rewrite (#23067) 3 years ago
regen.py rename yuv streams (#23071) 3 years ago
regen_all.py Refactor lateral lag compensation (#21334) 4 years ago
test_fuzzy.py update test fuzzy 4 years ago
test_processes.py Mazda: move CX-9 out of dashcam mode (#22717) 4 years ago
update_refs.py Do not run code on version.py import (#23063) 3 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
  • 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.