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

Update motor_control_node.py

parent 35bd4a96
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ from geometry_msgs.msg import Twist
class MotorController(Node):
def __init__(self):
super().__init__('motor_controller')
self.get_logger().info("Motor Controller has been started.")
self.subscription = self.create_subscription(Twist,'cmd_vel',self.cmd_vel_callback,10)
self.wheel_radius = 0.05 # meters
self.wheel_base = 0.30
......
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