wip
This commit is contained in:
@@ -181,6 +181,7 @@ class LongitudinalPlanner:
|
||||
force_slow_decel = sm['controlsState'].forceDecel
|
||||
|
||||
# Reset current state when not engaged, or user is controlling the speed
|
||||
# clearpilot - might need changing
|
||||
reset_state = long_control_off if self.CP.openpilotLongitudinalControl else not sm['controlsState'].enabled
|
||||
|
||||
# No change cost when user is controlling the speed, or when standstill
|
||||
|
||||
Reference in New Issue
Block a user