Skip to content
Snippets Groups Projects
Commit 396ff882 authored by Louis Kevin Fink's avatar Louis Kevin Fink
Browse files

fix: stopping during turn sets speed after turn has finished

parent 54cbe120
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,8 @@ class JetRacerController(Node):
time.sleep(turn_time)
self._steering_angle = 0.0
self._speed = old_speed
if self._speed != 0.0:
self._speed = old_speed
self._publish_to_cmd_vel()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment