Smoother braking behind lead
Added toggle to smooth out the braking behavior when approaching a slower lead vehicle.
This commit is contained in:
@@ -155,6 +155,7 @@ class FrogPilotPlanner:
|
||||
self.acceleration_profile = params.get_int("AccelerationProfile") if longitudinal_tune else 0
|
||||
self.aggressive_acceleration = params.get_bool("AggressiveAcceleration") and longitudinal_tune
|
||||
self.increased_stopping_distance = params.get_int("StoppingDistance") * (1 if self.is_metric else CV.FOOT_TO_METER) if longitudinal_tune else 0
|
||||
self.smoother_braking = params.get_bool("SmoothBraking") and longitudinal_tune
|
||||
|
||||
self.map_turn_speed_controller = params.get_bool("MTSCEnabled")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user