Files
panda-meb/tests
Shane Smiskol 6a4daee044 safety: disallow longitudinal actuation while gas is pressed (#884)
* test implemented for Toyota

* fix Toyota interceptor

* use hasattr

* do Honda (still need Nidec ACC_HUD safety)

* add longitudinal_allowed to ACC_HUD (Nidec w/ no pedal

* rx not needed

* add base test for longitudinal

* update name

* stash

* do GM

* use gas_pressed_prev

* do tesla safety

* add full tests

* add get_longitudinal_allowed for simpler tests

* remove unnecessary tests and revert honda/hyundai

* fix honda after revert

* make sure releasing gas allows longitudinal again

* clean up

* clean up

* Just check longitudinal allowed

* don't need to reset detection

* use prev and add brake detection

* only on gas

* make sure we don't change current_controls_allowed braking behavior

* clean up tests

* use current_controls_allowed for honda & GM

* this is pretty much tested in common

* fix up tests and move common tests

* revert

* better place

* add for body
2022-04-01 19:54:40 -07:00
..
2020-06-02 16:27:07 -07:00
2022-03-25 20:00:44 -07:00
2017-09-01 12:49:16 -07:00
2021-10-01 14:47:37 +02:00
2020-06-02 16:27:07 -07:00
2021-06-09 18:36:07 -07:00
2020-06-02 16:27:07 -07:00
2021-03-10 16:56:09 +01:00
2020-07-30 14:36:39 -07:00
2020-08-17 10:15:17 +00:00