ROS(013: Examining the Simple Service and Client)

For python:

$ rosrun beginner_tutorials add_two_ints_server.py

$ rosrun beginner_turorials add_two_ints_client.py 1 3

 

For C++:

$ rosrun beginner_tutorials add_two_ints_server

$ rosrun beginner_tutorials add_two_ints_client 1 3

 

Ref:

http://wiki.ros.org/ROS/Tutorials/ExaminingServiceClient

 

打赏