Harald Schäfer
ae3681f2bb
Test and fix cruise speed all personalities ( #28658 )
...
* Fix cruise speed in non-standard mode
* Test all personalities
* Test only critical speeds
* 35ms max
2023-06-23 17:14:41 -07:00
Adeeb Shihadeh
5ab2d35f7b
controlsd: higher default set speed in experimental mode ( #27279 )
...
* controlsd: higher default set speed in experimental mode
* update tests
* update tests
2023-02-09 19:27:51 -08:00
Shane Smiskol
9ea72b6550
Longitudinal tests: clean up ( #26708 )
...
* refactor test_cruise_speed.py
* clean up long tests
* and here
2022-12-05 17:34:57 -08:00
Shane Smiskol
23a7a987f6
controlsd: add test around cruise speed gas pressed behavior ( #26486 )
...
* test
* test
* debug
* test
* test
* test
* clean up
* clean up
* add test
* stash
* clean up
* clean up
* clean up
* assert equal
2022-11-21 17:05:13 -08:00
Shane Smiskol
e46063086f
controlsd: no speed increment if enabled on button rising edge ( #26490 )
...
* don't increment speed if we enabled on rising edge
* more realistic test
2022-11-13 16:34:26 -08:00
Shane Smiskol
3524cc7f0b
cruise speed tests: match controlsd initialization of cruise speed ( #26491 )
...
* helper functions and fix resetting/enabling
* comment (resume not yet tested)
* make it clear how this resets
* this is fine to enable once
* same here
2022-11-13 16:15:17 -08:00
Shane Smiskol
a638afb98e
controlsd: add tests around cruise speed ( #26478 )
...
* start to add some tests
* test !pcmCruise
* test !pcmCruise
* better test
* fix pylint
* new test for making sure we adjust on falling edge of buttons
2022-11-11 23:11:49 -08:00
Adeeb Shihadeh
9a3f468051
experimental mode ( #26416 )
...
* experimental mode
* rename param
* red lights
2022-11-08 14:45:01 -08:00
HaraldSchafer
7899fb79c1
More conservative lead policy in e2e long mode ( #25684 )
...
* Add params for lead and danger
* fix long params
* E2e passes simple maneuver tests
* Make tests run with e2e long mode
* Slightly more error allowed in e2e mode
* FCW back and populate long source field
* Fix planner name
* FCW still doesnt work
* Slightly less aggressive
* Doesn't need to simulate from stop
2022-09-06 21:52:34 -07:00
HaraldSchafer
fcda55fbf1
Fix cruise MPC convergence bug and add test ( #22295 )
...
* fix tests
* fix cruise convergence bug
* update refs
* Update selfdrive/controls/tests/test_cruise_speed.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
* Update selfdrive/controls/tests/test_cruise_speed.py
* add msgh
Co-authored-by: Willem Melching <willem.melching@gmail.com >
2021-09-21 12:19:05 -07:00