This package provide ROS nodes used to control the USV robot used in the Ecolymer River Cleanup Robot project.
This package is used to control the ERCR robot with a joystick.
Install the ROS Noetic joystick drivers and joystick node.
sudo apt-get install ros-noetic-joy
Plug in the joystick into your computer. Verify that the computer sees the joystick by verifying that it is listed in the input devices folder. It should be listed as "js0".
ls /dev/input
Test out the joystick with the following command. Ensure that the data values are changing as you used the joystick.
sudo jstest /dev/input/js0
Allow ROS to access the joystick:
sudo chmod a+rw /dev/input/jsX
This package uses a PID controller to control the ERCR robot with a joystick.
Installing the robot_localization
package with the following:
sudo apt-get install ros-noetic-robot-localization