How to do it…

  1. Install the necessary packages and driver, before working with the joystick.
  2. 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
  1. 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 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.2.122