编写简单的Service和Client (C++):
http://wiki.ros.org/cn/ROS/Tutorials/WritingServiceClient%28c%2B%2B%29
上节程序测试以及Python教程可以参考:
http://wiki.ros.org/cn/ROS/Tutorials/ExaminingPublisherSubscriber
http://wiki.ros.org/cn/ROS/Tutorials/WritingPublisherSubscriber%28python%29
同样,在Eclipse中实现。这里直接查看源代码等,就不重复操作了。
编译前检查CMakeLists.txt。
http://wiki.ros.org/cn/ROS/Tutorials/WritingServiceClient%28python%29
http://wiki.ros.org/cn/ROS/Tutorials/ExaminingServiceClient
-End-