ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

This is the complete working solution

This is the complete working solution how you get p2os_teleop to work in ROS Electric:

  • In file p2os/p2os_teleop/manifest.xml:

    • Line 12: <depend package="joy"/><depend package="sensor_msgs"/>
  • In file p2os/p2os_teleop/src/p2os_teleop.cc:

    • Line 54: #include "joy/Joy.h"#include "sensor_msgs/Joy.h"
    • Line 145: 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