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

Revision history [back]

click to hide/show revision 1
initial version

For the benefit of others, I think the issue is that you were missing the <class Service> part of ros::AdvertiseServiceOptions::create. Try:

ros::AdvertiseServiceOptions serviceOpts = ros::AdvertiseServiceOptions::create<pcmatch::getObjPose>("getObjPose", fp, ros::VoidPtr(), &serviceCallbackQueue_);