mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-22 00:33:48 +08:00
lp-dp 2023-07-17T07:18:07 for EON/C2
version: lp-dp v0.9.3 for EON/C2 date: 2023-07-17T07:18:07 commit: 96f87e78722291005720e72d605b459e928f8812
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -781,7 +781,7 @@ class Controls:
|
||||
if NO_IR_CTRL:
|
||||
self.sm['driverMonitoringState'].awarenessStatus = 1.
|
||||
|
||||
force_decel = (self.sm['driverMonitoringState'].awarenessStatus < 0.) or \
|
||||
force_decel = (not NO_IR_CTRL and self.sm['driverMonitoringState'].awarenessStatus < 0.) or \
|
||||
(self.state == State.softDisabling)
|
||||
|
||||
# Curvature & Steering angle
|
||||
|
||||
Reference in New Issue
Block a user