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 a1f808f056
commit ebdcfca756
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,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