ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The way you specify the pose callback is wrong. Have a look at this tutorial. Alternatively you can use boost::bind, e.g.:
ros::ServiceServer service = nh.advertiseService<epsilon::Pose::Request, epsilon::Pose::Response>("/epsilon/get_pose", boost::bind(&PoseServer::compute_Pose, server, _1, _2));
Your method compute_Pose needs to be public.