mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-02 06:03:43 +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:
@@ -58,6 +58,10 @@ class ConditionalExperimentalMode:
|
||||
self.status_value = 12 if self.lead_stopped else 13
|
||||
return True
|
||||
|
||||
if frogpilot_toggles.conditional_signal and v_ego <= CITY_SPEED_LIMIT and (carState.leftBlinker or carState.rightBlinker):
|
||||
self.status_value = 14
|
||||
return True
|
||||
|
||||
if frogpilot_toggles.conditional_curves and self.curve_detected:
|
||||
self.status_value = 15
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user