Ask Your Question
0

"sudo apt-get install ros-groovy-joystick_drivers" doesn't work

asked 2013-02-19 00:03:17 -0500

DIDI gravatar image

Hi there. I have installing problems.

"sudo apt-get install ros-groovy-actionlib" works fine, but

"sudo apt-get install ros-groovy-joystick_drivers" don't.

I just get:

Reading package lists... Done

Building dependency tree
Reading state information... Done

E: Unable to locate package ros-groovy-joystick_drivers

Any Idea why? I am working with Ubuntu 12.04.

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2013-02-19 00:41:33 -0500

AHornung gravatar image

updated 2013-02-19 00:43:38 -0500

Underscores are replaced by hyphens in the Ubuntu packages. That means you have to run

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

Hint: You can use tab-completion while typing: hit "tab" while completing the package name.

edit flag offensive delete link more

Comments

Note you could also use apt-cache to search for packages e.g. apt-cache search ros.*joystick shows the name of the package you were trying to install. As well as a small description of the package.

jarvisschultz gravatar imagejarvisschultz ( 2013-02-19 07:35:57 -0500 )edit
0

answered 2013-02-20 03:49:41 -0500

DIDI gravatar image

Thanks guys, that solves one problem, unfortunately it opens another :-(

If am correct I have to run rosdep and rosmake before starting to work with them, but with the package "joystick_drivers_tutorials" it fails cause of mkdir could not create 'build'. And If i want to work with the nodes of that packages it get these errors.

ERROR: cannot launch node of type [ps3joy/ps3joy_node]: can't locate node [ps3joy_node] in package [ps3joy] 
ERROR: cannot launch node of type [turtle_teleop/turtle_teleop_joy]: can't locate node [turtle_teleop_joy] in package [turtle_teleop]

Again any brilliant ideas? I am really lost here :-(

edit flag offensive delete link more

Comments

First: You ought to put that into a new question, not into an answer.

felix k gravatar imagefelix k ( 2013-02-20 03:59:53 -0500 )edit

When you install that stack as a system/debian package, it's already completely built, so you don't need to. In fact never ever one should build/make anything of ROS installed system-wide (in /opt). Those nodes should be there. Do you created a local overlay? Check via rospack list-duplicates.

felix k gravatar imagefelix k ( 2013-02-20 04:04:14 -0500 )edit

Ok, next time i will do that. If I understand it correct I have an overlay. The command gives me that: rospack list-duplicates

orocos_kdl ps3joy turtle_teleop wiimote spacenav_node joy

DIDI gravatar imageDIDI ( 2013-02-20 22:41:00 -0500 )edit

If I do it per hand, it says the executable is not found. I am sure the problem is something essential, but I have no idea.

$rosrun turtle_teleop teleop_turtle_joy

[rosrun] Couldn't find executable named teleop_turtle_joy below /home/didi/groovy_workspace/joystick_drivers_tutorials/turtle_teleop

DIDI gravatar imageDIDI ( 2013-02-20 22:44:55 -0500 )edit

You cloned those packages source-only below you home folder, which have to be built. Also ROS ignores the system wide packages, which might still be installed. Simply delete every package you do not need to alter from your ROS_PACKAGE_PATH, so ROS finds the already built ones in the system.

felix k gravatar imagefelix k ( 2013-02-25 01:08:02 -0500 )edit

All others you wish to modify/compile locally must be built. That should work via rosmake or make. Check the stack/manifest/package.xml files for other needed packages.

felix k gravatar imagefelix k ( 2013-02-25 01:09:34 -0500 )edit

It works now. Thanks.

DIDI gravatar imageDIDI ( 2013-02-25 21:01:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-02-19 00:03:17 -0500

Seen: 711 times

Last updated: Feb 20 '13