nopenpilot/selfdrive/test/process_replay
HaraldSchafer adf34c3414
CarParams: remove max steer (#24044)
* Remove max steer

* Update ref
2022-03-25 17:33:11 -07:00
..
.gitignore segment regen (#21148) 2021-06-28 21:44:40 -07:00
README.md Process replay for C++ daemons (#2288) 2020-10-12 11:18:53 +02:00
__init__.py selfdrive/test 2020-01-17 11:16:14 -08:00
compare_logs.py pylint: enforce indentation (W0311) (#24039) 2022-03-24 23:23:29 -07:00
model_replay.py Fix tici bigmodel (#23817) 2022-02-21 19:57:04 -08:00
model_replay_ref_commit DM: more precision running on DSP + e2e outputs (#23900) 2022-03-15 19:02:21 -07:00
process_replay.py pylint: enforce indentation (W0311) (#24039) 2022-03-24 23:23:29 -07:00
ref_commit CarParams: remove max steer (#24044) 2022-03-25 17:33:11 -07:00
regen.py pylint: enforce indentation (W0311) (#24039) 2022-03-24 23:23:29 -07:00
regen_all.py Ensure controlsd can engage again in process replay (#23556) 2022-01-21 13:13:34 +01:00
test_fuzzy.py update test fuzzy 2021-05-06 19:27:58 +02:00
test_processes.py Ensure controlsd can engage again in process replay (#23556) 2022-01-21 13:13:34 +01:00
update_refs.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00

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.