- Install the necessary packages and driver, before working with the joystick.
- To install these packages in Ubuntu, we have to execute the following command:
$ sudo apt-get install ros-kinetic-joystick-drivers $ rosstack profile & rospack profile
- Download the joystick_drivers package from the repository and build the package from the source:
$ cd ~/catkin_ws/src $ git clone https://github.com/ros-drivers/joystick_drivers.git $ cd .. $ catkin_make