mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 22:23:56 +08:00
* New model: 51a237cd-9c43-4281-9072-802325e6744d/950 * Added new meta outputs and proper interp for plan_t_arr * Added meta-based trigger for FCW * No nans in planner, separate alert for model FCW * Cleaned up plan_t interp logic * Added empty cameraError alert to fix unit tests * Use the normal FCW event * Updated filter logic * Updated model replay ref * Moved disengage predictions into their own cereal struct * Updated model replay ref for new cereal structs * Apparently this breaks stuff? * Bumped cereal commit and model replay ref
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.