O'Reilly logo

Robot Operating System Cookbook by Kumar Bipin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required