ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You should pass the variable you need by assign srv.request.[VariableName] = [true, false];, like you did in the response.
2 | No.2 Revision |
You should pass the variable you need by assign srv.request.[VariableName] = [true, false];, like you did in the response.response. You can have a deeper look at that at this tutorial:
http://wiki.ros.org/ROS/Tutorials/WritingServiceClient%28c%2B%2B%29
3 | No.3 Revision |
You should pass the variable you need by assign srv.request.[VariableName] = [true, false];, like you did in the response. You can have a deeper look at that at this tutorial:
http://wiki.ros.org/ROS/Tutorials/WritingServiceClient%28c%2B%2B%29
beginner_tutorials::AddTwoInts srv;
srv.request.a = atoll(argv[1]);
...
client.call(srv)
4 | No.4 Revision |
You should pass the variable you need by assign srv.request.[VariableName] = [true, false];, like you did in the response. You can have a deeper Please also look at that at this tutorial:
http://wiki.ros.org/ROS/Tutorials/WritingServiceClient%28c%2B%2B%29
beginner_tutorials::AddTwoInts srv;
srv.request.a = atoll(argv[1]);
...
client.call(srv)