controls: block resume if cruise not previously engaged (#25402)

* see if this works at all

* can revert this

* think adding a no entry conditionally is nicer

* then we can revert this

* 0 makes more sense

* Revert "0 makes more sense"

This reverts commit efc89e8a2389ef58fbc0cec0a2872d24db524867.

* gm CC uses > 70

* bump cereal

* comment

* test on Honda

* whoops

* works

* add exception with todo

* moved button enable events to controlsd

* get rid of that

get rid of that

* different values for now

* car interfaces add enable event, controlsd can block it

* Regen and update refs

* delete if not set

* One place

one place

* regen routes are uninitialized first few frames

* Trim start of segment so it's like original segment

* stash

* regen

* not working

* clean up

* more cleanup

* revert

* bump ceral

* actually check resume button

* whoops

* pcmCruise cars don't use setSpeed, so we're good

* engage correctly in sim

* Update ref_commit

* Update refs
old-commit-hash: 5ed587ebeff24bacf70c44879616c51756730bba
This commit is contained in:
Shane Smiskol
2022-08-17 18:03:33 -07:00
committed by GitHub
parent 2c85a11a31
commit 2bd8ee0974
6 changed files with 27 additions and 16 deletions
+1 -1
View File
@@ -1 +1 @@
29e406826b1d7b0cc7e05153b623fbedcd8fd9e9
35899d5137e298220e91063f3078109227cc8715