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

rosdep install joy

asked 2012-06-07 05:01:57 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

hi i am trying to install the joy driver i tried running the command rosdep install joy and got the following error what should I do? ERROR: Rosdep cannot find all required resources to answer your query Missing resource joy ROS path [0]=/opt/ros/fuerte/share/ros ROS path [1]=/home/lab/ros_workspace ROS path [2]=/opt/ros/fuerte/share ROS path [3]=/opt/ros/fuerte/stacks

edit retag flag offensive close merge delete

Comments

i am running it on 12.04 and my /.bashrc ros_package_ path is as follows: export ROS_PACKAGE_PATH=~/ros_workspace:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share/ros:/home/lab/ros_workspace:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks

gupta gravatar image gupta  ( 2012-06-07 05:26:12 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
6

answered 2012-06-07 07:19:38 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I believe you don't have the ROS joystick drivers installed. As a result, rosdep is unable to find the ROS package joy, and cannot resolve its system dependencies. You can test this by running the command:

rospack find joy

If you get an error, you can install joystick-drivers by running the following command:

sudo apt-get install ros-fuerte-joystick-drivers

followed by

rosdep install joy
edit flag offensive delete link more

Comments

I'm having issues with this too. For some unknown reason, this doesn't work. I updated the rosdep sources, but the joy headers are still not recognized.

allenh1 gravatar image allenh1  ( 2012-06-07 08:28:43 -0600 )edit

Could you elaborate on your problem. Do you have the joystick-drivers stack installed? where does the failure appear?

piyushk gravatar image piyushk  ( 2012-06-07 11:44:07 -0600 )edit

I have a similar issue, except with several packages. I used 'sudo apt-get' to get them, and they display their locations when I do 'locate <name>' but rosdep just returns "No Valid Packages or stacks listed as arguments" when I attempt to rosmake my package or do rosdep install <name>

jker gravatar image jker  ( 2012-08-09 11:11:15 -0600 )edit
1

@jker: it seems like you have a different problem. I think your package is not in your ROS_PACKAGE_PATH (i.e. ROS cannot locate it). With locally built code, you need to use a tool like rosinstall/rosws, or manually list package locations. See http://www.ros.org/wiki/ROS/EnvironmentVariables

piyushk gravatar image piyushk  ( 2012-08-10 16:08:31 -0600 )edit
0

answered 2012-06-08 05:36:47 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Thanks Piyush, it worked

edit flag offensive delete link more

Comments

@gupta Please accept his answer above and use comments to reply.

tfoote gravatar image tfoote  ( 2012-06-08 21:03:21 -0600 )edit

Question Tools

Stats

Asked: 2012-06-07 05:01:57 -0600

Seen: 7,387 times

Last updated: Jun 08 '12