Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
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
2 years ago
Adeeb Shihadeh
5ab2d35f7b
controlsd: higher default set speed in experimental mode ( #27279 )
...
* controlsd: higher default set speed in experimental mode
* update tests
* update tests
2 years ago
Shane Smiskol
9ea72b6550
Longitudinal tests: clean up ( #26708 )
...
* refactor test_cruise_speed.py
* clean up long tests
* and here
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Adeeb Shihadeh
9a3f468051
experimental mode ( #26416 )
...
* experimental mode
* rename param
* red lights
3 years ago
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
3 years ago
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>
4 years ago