Hyundai longitudinal (#711)

* Hyundai longitudinal

* return right addr checks

* add flag to pythong

* fix define

* check for stock ecu

* add rx check for buttons

* Block FCA11 actuation

* misra

* review 1

* comment about scaling

* clean up buttons

* use define for flag

* more extensive button checking

* check for AEB in scc12

* unsigned

* add knockout tests

* more unsigned

* cleaner
This commit is contained in:
Willem Melching
2021-09-13 20:41:10 -07:00
committed by GitHub
parent 1befaad8b0
commit dd22fafc3c
4 changed files with 229 additions and 27 deletions

View File

@@ -150,6 +150,7 @@ class Panda(object):
FLAG_HONDA_ALT_BRAKE = 1
FLAG_HONDA_BOSCH_LONG = 2
FLAG_HYUNDAI_LONG = 4
def __init__(self, serial=None, claim=True):
self._serial = serial