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 | Q&A answers.ros.org |
asked 2012-03-06 04:59:25 -0500
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-03-06 04:59:25 -0500
Seen: 882 times
Last updated: Mar 06 '12
Cannot rosmake teleop_base, getting fatal error in Fuerte
Can't execute ROSARIA in p3dx [closed]
How can i order axes[] in Joy message ?
using xbox 360 wireless controller in MoveIt/ rviz
Unable to move robot using 2d nav goal
alternative publisher for Joy_node
"rosmake teleop_base" gives "Failed to find stack for package [control_toolbox]"