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 -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.
Asked: 2012-03-06 04:59:25 -0500
Seen: 901 times
Last updated: Mar 06 '12
Did anyone use xbox wireless controller for navigation?
Cannot install ros-noetic-joy [closed]
how can I create the s2 moving left-right (uwsim/cola2)?
can't locate node [turtle_teleop_joy] in package [learning_joy]
RosAria ArRobot::myPacketReader: Timed out
System repeats last message infinitely upon joystick disconnect