nopenpilot/selfdrive/test/process_replay
Willem Melching c18e7da3c2
Write orientation & transform in C++ (#1637)
* locationd at 20hz

* update ref

* bump cereal

* dont modify global state

* add scons files

* ecef2geodetic and geodetic2ecef

* Finish local coords class

* Add header file

* Add orientation.cc

* cleanup

* Add functions to header file

* Add cython wrapper

* y u no work?

* This passes the tests

* test rot2quat and quat2rot

* Teste euler2rot and rot2euler

* rot_matrix

* test ecef_euler_from_ned and ned_euler_from_ecef

* add benchmark

* Add test

* Consistent newlines

* no more radians supported in geodetic

* test localcoord single

* test localcoord single

* all tests pass

* Unused import

* Add alternate namings

* Add source for formulas

* no explicit tests needed

* remove benchmark

* Add release files

* Typo

* Remove print statement

* no access to raw transform matrix

* temporarily add tolerance

* handcode quat2euler

* update ref
2020-06-09 16:44:26 -07:00
..
README.md selfdrive/test 2020-01-17 11:16:14 -08:00
__init__.py selfdrive/test 2020-01-17 11:16:14 -08:00
camera_replay.py Model + camerad test (#1622) 2020-06-04 18:57:25 -07:00
compare_logs.py Write orientation & transform in C++ (#1637) 2020-06-09 16:44:26 -07:00
inject_model.py enable flake8 E303: too many blank lines 2020-05-31 17:21:11 -07:00
model_ref_commit Nissan port - dashcam only (#1203) 2020-03-05 15:40:07 -08:00
model_replay_ref_commit Model + camerad test (#1622) 2020-06-04 18:57:25 -07:00
process_replay.py Write orientation & transform in C++ (#1637) 2020-06-09 16:44:26 -07:00
ref_commit Write orientation & transform in C++ (#1637) 2020-06-09 16:44:26 -07:00
test_processes.py Make pylint more strict (#1626) 2020-06-02 16:29:32 -07:00
update_model.py Model + camerad test (#1622) 2020-06-04 18:57:25 -07:00
update_refs.py Model + camerad test (#1622) 2020-06-04 18:57:25 -07: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

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.