changed joystick topic

This commit is contained in:
Your Name 2023-07-14 12:02:13 +02:00
parent 3441dc2812
commit 2cae6005f9

View File

@ -42,7 +42,7 @@ class TwistPublisher(Node):
Twist, "/diff_cont/cmd_vel_unstamped", 1
)
self.publisher_2 = self.create_publisher(Twist, "/cmd_vel", 1)
self.publisher_2 = self.create_publisher(Twist, "/cmd_vel_joystick", 1)
self.create_subscription(Joy, "/joy", self.joy_callback, 1)
self.timer = self.create_timer(1 / publish_frequency_hz, self.timer_callback)