HKG: only allow engagement on user button press (#24140)
* use deque for prev_cruise_buttons
* stash
* disallow engagement if resume or decel isn't pressed
* fix buttons
* reduce chances of causing 30-frame fault
Fix clu11
drive down cancel times
* Revert "reduce chances of causing 30-frame fault"
This reverts commit 0f54c051bf5a22b1f584718ec46e78bc3a82a0dd.
* consider pause/resume button
* stash
* Revert "stash"
This reverts commit 551ca7be6c45729f0747abc81cd81894cd621c32.
* sadly some cars need 8 op frames (identical to 4 updates from CLU11)
* add main button
* 6 should be safe
* use max
* clean up
* change to 4 samples and process all messages received, like panda
* bump panda
* test: replay segments with known re-engagements on-device
* Revert "test: replay segments with known re-engagements on-device"
This reverts commit 9730c3c14f942b82b6ed5ef2e81b8ae0126f3006.
* need prev_cruise_buttons as we don't run every CAN message through carstate
* more generic
* extend
* Update selfdrive/car/interfaces.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* 3% faster at 1000000 loops
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: efa98d2a06
taco
parent
b3e7498f27
commit
5469375c91
5 changed files with 27 additions and 13 deletions
@ -1 +1 @@ |
||||
Subproject commit 5eefc3ad62422dea3fc356f82267af58f9b1518a |
||||
Subproject commit bb2aea1ac6bd9ab198ec5192268a6ea6eec6bbe5 |
@ -1 +1 @@ |
||||
fe7b24c1914046a3a7be19b6e812984e7e14301d |
||||
17141a8240bd8ec5defa1de2da937544c52ef0fe |
Loading…
Reference in new issue