Skip to content
Snippets Groups Projects
Commit 9145d01b authored by Paul-Winpenny's avatar Paul-Winpenny
Browse files

Update motor_control_node.py

parent f6897683
No related branches found
No related tags found
1 merge request!2Manual control user interface
......@@ -49,7 +49,7 @@ class MotorController(Node):
elif v == -0.5:
self.left_pwm = -75
self.right_pwm = -75
if v == 0:
if v == 0 and omega == 0:
self.left_pwm = 0
self.right_pwm = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment