ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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_);