ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Solved it by putting the path (properly not the correct terminology) inside the " " section.
ros::ServiceClient client = n.serviceClient<ifm3d::Trigger>("ifm2d/camera/Trigger");
So adding ifm3d/camera/ to the Trigger part looks like it directs the trigger to the the correct service and now it works. Thanks for listening.
👍
2 | No.2 Revision |
Solved it by putting the path (properly not the correct terminology) inside the " " section.
ros::ServiceClient client = n.serviceClient<ifm3d::Trigger>("ifm2d/camera/Trigger");
n.serviceClient<ifm3d::Trigger>("ifm3d/camera/Trigger");
So adding ifm3d/camera/ to the Trigger part looks like it directs the trigger to the the correct service and now it works. Thanks for listening.
👍