* bump panda * set safety config/configure experimental longitudinal * send inactive signals * bump * just calculate in function * already in the variable * clean that up * add comment, on ford stock long, prchg seems to be set from the possible future accel * comment * this signal didn't have an impact on engaging * add comment and fix * worst case while AEB * and kill ACCDATAs * this could be dangerous * need to test this too * Revert "need to test this too" This reverts commit 09bba75950fa55d90a82f0109e3138ffe5a1d08c. * Revert "this could be dangerous" This reverts commit 323143e84727f1a780bbb600be5f7ceb763516b1. * Revert "and kill ACCDATAs" This reverts commit 15f6804bf64d01145daf57a592c2f3fd44ceba27. * Revert "worst case while AEB" This reverts commit 85e1aaa8e1af90373c688d1973dbfbb07b1fb8b2. * bump panda * Update selfdrive/car/ford/fordcan.py * move around * was already here * rm * use variable * update docs * Update ref_commit --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> old-commit-hash: d4dec3ba5e7c68c57c137e15c0a51c903737b8b7
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.
Use FILEREADER_CACHE='1' test_processes.py to cache log files.
Currently the following processes are tested:
- controlsd
- radard
- plannerd
- calibrationd
- dmonitoringd
- locationd
- laikad
- paramsd
- ubloxd
Usage
Usage: test_processes.py [-h] [--whitelist-procs PROCS] [--whitelist-cars CARS] [--blacklist-procs PROCS]
[--blacklist-cars CARS] [--ignore-fields FIELDS] [--ignore-msgs MSGS] [--update-refs] [--upload-only]
Regression test to identify changes in a process's output
optional arguments:
-h, --help show this help message and exit
--whitelist-procs PROCS Whitelist given processes from the test (e.g. controlsd)
--whitelist-cars WHITELIST_CARS Whitelist given cars from the test (e.g. HONDA)
--blacklist-procs BLACKLIST_PROCS Blacklist given processes from the test (e.g. controlsd)
--blacklist-cars BLACKLIST_CARS Blacklist given cars from the test (e.g. HONDA)
--ignore-fields IGNORE_FIELDS Extra fields or msgs to ignore (e.g. carState.events)
--ignore-msgs IGNORE_MSGS Msgs to ignore (e.g. carEvents)
--update-refs Updates reference logs using current commit
--upload-only Skips testing processes and uploads logs from previous test run
Forks
openpilot forks can use this test with their own reference logs, by default test_proccess.py saves logs locally.
To generate new logs:
./test_processes.py
Then, check in the new logs using git-lfs. Make sure to also update the ref_commit file to the current commit.