Toyota stop and go hack

Added toggle to force stop and go for Toyota vehicles.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 6fe645e21c
commit 1c58cd07ec
5 changed files with 5 additions and 2 deletions

View File

@@ -1208,6 +1208,7 @@ class Controls:
self.lane_detection_width = self.params.get_int("LaneDetectionWidth") * (1 if self.is_metric else CV.FOOT_TO_METER) / 10 if self.lane_detection else 0
self.frogpilot_variables.personalities_via_wheel = self.params.get_bool("PersonalitiesViaWheel") and self.params.get_bool("AdjustablePersonalities")
self.frogpilot_variables.sng_hack = self.params.get_bool("SNGHack")
quality_of_life = self.params.get_bool("QOLControls")
self.pause_lateral_on_signal = self.params.get_int("PauseLateralOnSignal") * (CV.KPH_TO_MS if self.is_metric else CV.MPH_TO_MS) if quality_of_life else 0