ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to install joy package

asked 2015-09-20 15:43:27 -0600

Haifei gravatar image

updated 2015-09-20 23:36:26 -0600

I am new to ROS, forgive me if the question relates to fundamental knowledge I am not aware.

What I am trying to do is using joy stick to control A.R. drone 2.0 by ROS in Ubuntu 14.04 LTS.

I am following the instruction here: http://robohub.org/up-and-flying-with...

$ sudo rosdep init
$ rosdep update
$ sudo apt-get install ros-fuerte-joystick-drivers
$ rosdep install joy

I got stuck at $ sudo apt-get install ros-fuerte-joystick-drivers. it gives error: E: Unable to locate package ros-fuerte-joystick-drivers

Since I installed ROS indigo, so I changed it to $ sudo apt-get install ros-indigo-joystick-drivers, it runs ok. However it stuck at the next command: $ rosdep install joy, it gives error:

ERROR: Rosdep cannot find all required resources to answer your query
Missing resource joy
ROS path [0]=/opt/ros/jade/share/ros
ROS path [1]=/opt/ros/jade/share
ROS path [2]=/opt/ros/jade/stacksenter code here

I runs:

     $rospack find joy
     [rospack] Error: package 'joy' not found

Somehow 'joy' package is not installed. How can I install joy package?

Thanks, Haifei

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-09-21 01:06:16 -0600

Mani gravatar image

updated 2015-09-21 15:47:23 -0600

Unfortunately this robohub article is quite outdated. ROS Fuerte (and two next versions after it: Groovy and Hydro) are all end-of-lifed. It is also not possible to install ROS Fuerte on Ubuntu 14.04 AFIK. One of my colleagues is working on shipping a sample joystick teleop launch file with ardrone_autonomy. I will update this answer when those changes are tested and merged. The code form the robohub article uses rosbuild (the legacy ROS buildtool) which is not supported in ROS Indigo (Please check the comment by @gvdhoorn) . In order to use that code, someone needs to convert the build system to catkin.

To install joystick drivers and joy package on ROS Indigo you can run sudo apt-get install ros-indigo-joy ros-indigo-joystick-drivers in command line.

PS. Please check this documentation for installation instructions of ardrone_autonomy on ROS Indigo.

edit flag offensive delete link more

Comments

2

Just to clarify: you can still use rosbuild under Indigo (and even Jade). It's just that there are some restrictions when interacting with catkin workspaces, and you cannot release rosbuild packages anymore.

gvdhoorn gravatar image gvdhoorn  ( 2015-09-21 04:56:43 -0600 )edit

Thank you for the response.

Haifei gravatar image Haifei  ( 2015-09-21 21:48:19 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-09-20 15:43:27 -0600

Seen: 14,607 times

Last updated: Sep 21 '15