ROS(012: Wrinting a Simple Service and Client(Python))

$ roscd beginner_tutorials

$ cd scripts

$ vi add_two_ints_server.py

add content:

$ chmod +x add_two_ints_server.py

 

$ vi add_two_ints_client.py

add contents:

$ chmod +x add_two_ints_client.py

 

$ cd ~/catkin_ws

$ catkin_make

打赏