Control your robot with a joystick in ROS
In other tutorials, I showed how to get access to the joystick and how to code with that. In this tutorial, I’m going to show you how to do that without writing any line of code. First, install the required packages:
1 |
sudo apt-get install ros-noetic-teleop-twist-joy ros-noetic-joy ros-noetic-joy-teleop |
Now call the following
1 |
rosrun joy joy_node dev:=/dev/input/js0 |
This will publish the topic “/joy_node” which […]
Control your robot with a joystick in ROS Read More »