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:
parent
494a40b13f
commit
89d28689ba
@ -58,6 +58,10 @@ class ConditionalExperimentalMode:
|
|||||||
self.status_value = 12 if self.lead_stopped else 13
|
self.status_value = 12 if self.lead_stopped else 13
|
||||||
return True
|
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:
|
if frogpilot_toggles.conditional_curves and self.curve_detected:
|
||||||
self.status_value = 15
|
self.status_value = 15
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user