mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
Ford: add longitudinal safety (#1359)
* add ACCDATA msg * ford long safety * long flag * split stock and op long tests * use accel limits for brake * add comment * fix acceleration limits fix acceleration limits * fix gas limits * temp bug * fix min gas, allow -0.5 (engine braking?) * fix test * fix tests * yay it caught this * pylint * base name * typing * Revert "typing" This reverts commit 7fb5e304cb8eb6c9afff9fbe4266bc0a67f49c68. * temp fix * rm line * this is handled by PandaSafetyTest * revert * move --------- Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
This commit is contained in:
@@ -235,6 +235,8 @@ class Panda:
|
||||
FLAG_GM_HW_CAM = 1
|
||||
FLAG_GM_HW_CAM_LONG = 2
|
||||
|
||||
FLAG_FORD_LONG_CONTROL = 1
|
||||
|
||||
def __init__(self, serial: Optional[str] = None, claim: bool = True, disable_checks: bool = True):
|
||||
self._connect_serial = serial
|
||||
self._disable_checks = disable_checks
|
||||
|
||||
Reference in New Issue
Block a user