diff --git a/PythonAPI/carla/agents/navigation/behavior_agent.py b/PythonAPI/carla/agents/navigation/behavior_agent.py index 1af1b3cb1..3e52fafd3 100644 --- a/PythonAPI/carla/agents/navigation/behavior_agent.py +++ b/PythonAPI/carla/agents/navigation/behavior_agent.py @@ -300,7 +300,7 @@ class BehaviorAgent(BasicAgent): self._behavior.max_speed, self._speed_limit - self._behavior.speed_lim_dist]) self._local_planner.set_speed(target_speed) - control = self._local_planner.run_step(debug=debug) + control = self._local_planner.run_step(debug=debug) return control @@ -315,4 +315,4 @@ class BehaviorAgent(BasicAgent): control.throttle = 0.0 control.brake = self._max_brake control.hand_brake = False - return control \ No newline at end of file + return control