ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This is the complete working solution
2 | No.2 Revision |
This is the complete working solution how you get p2os_teleop
to work in ROS Electric:
In file p2os/p2os_teleop/manifest.xml
:
<depend package="joy"/>
⇒
<depend package="sensor_msgs"/>
In file p2os/p2os_teleop/src/p2os_teleop.cc
:
#include "joy/Joy.h"
⇒ #include "sensor_msgs/Joy.h"
void joy_cb(const joy::Joy::ConstPtr& joy_msg)
⇒ void joy_cb(const sensor_msgs::Joy::ConstPtr& joy_msg)
To be able to recompile p2os_teleop
, remove the file ROS_NO_BUILD
from the folder p2os/p2os_teleop
Once you have done that, run rosmake as sudo:
sudo -s
rosmake p2os_teleop