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:
FrogAi 2024-05-10 11:24:13 -07:00
parent 494a40b13f
commit 89d28689ba

View File

@ -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