teleop_base.cpp:37:21: erro fatal: joy/Joy.h:
Hi ALL
I'm trying to follow tutorial for installing "Rosaria" and when I do "rosmake" package "teleop_base" this can not find the file "Joy.h"
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
asked 2012-03-06 04:59:25 -0600
This post is a wiki. Anyone with karma >75 is welcome to improve it.
Hi ALL
I'm trying to follow tutorial for installing "Rosaria" and when I do "rosmake" package "teleop_base" this can not find the file "Joy.h"
Short Answer: This is due to the teleop_base
being deprecated for a while.
Longer Answer: The Joy message is no longer in the joy
package, but has instead been moved to sensor_msgs
. You could probably update teleop_base
to reflect theses changes (the manifest.xml and the actual source files will have to be updated at a minimum).
Probably the better answer is to write a simple "glue" node that will change the Joy messages that your device (ps3joy, etc) puts out, and changes them into appropriately scaled Twist messages published on /cmd_vel.
The other option is to use a pre-made generic teleop node, like https://github.com/skynetish/teleop
Related Questions
If you still have the same problem, try:
sudo apt-get install ros-electric-joystick-drivers
and then,
rosmake --pre-clean teleop_base
see if you can get pass the joy error. You may encounter new error to fix. I had three to fix and this was the first. It depends on what we have in our system.
Asked: 2012-03-06 04:59:25 -0600
Seen: 936 times
Last updated: Mar 06 '12
ImportError: No module named joy.msg [closed]
Cannot rosmake teleop_base, getting fatal error in Fuerte
teleop_base deprecated, need generic teleop package
"rosmake teleop_base" couldn't find dependency [joy] of [teleop_base]
joy node build bug when building from source [closed]
Can't manage to install teleop_base package
"rosmake teleop_base" gives "Failed to find stack for package [control_toolbox]"
Problem with teleop_base stage tutorial, how to install 'joy' package?