changed joystick topic
This commit is contained in:
		@ -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)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user