mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-07 17:26:56 +08:00
Controls - Conditional Experimental Mode - Turn Signal When Below Highway Speeds
Switch to 'Experimental Mode' when using turn signals below highway speeds to help assist with turns.
This commit is contained in:
@@ -36,6 +36,10 @@ class ConditionalExperimentalMode:
|
||||
self.status_value = 7 if tracking_lead else 8
|
||||
return True
|
||||
|
||||
if frogpilot_toggles.conditional_signal and v_ego < CITY_SPEED_LIMIT and (carState.leftBlinker or carState.rightBlinker):
|
||||
self.status_value = 9
|
||||
return True
|
||||
|
||||
approaching_maneuver = modelData.navEnabled and (frogpilotNavigation.approachingIntersection or frogpilotNavigation.approachingTurn)
|
||||
if frogpilot_toggles.conditional_navigation and approaching_maneuver and (frogpilot_toggles.conditional_navigation_lead or not tracking_lead):
|
||||
self.status_value = 10 if frogpilotNavigation.approachingIntersection else 11
|
||||
|
||||
Reference in New Issue
Block a user