| Note: This tutorial assumes that you have completed the previous tutorials: writing a simple service and client (python) (c++). |
Examining the Simple Service and Client
Description: This tutorial examines running the simple service and client.Tutorial Level: BEGINNER
Next Tutorial: Recording and playing back data
Contents
Running the Service
Let's start by running the service:
$ rosrun beginner_tutorials add_two_ints_server (C++) $ rosrun beginner_tutorials add_two_ints_server.py (Python)
You should see something similar to:
Ready to add two ints.
Running the Client
Now let's run the client with the necessary arguments:
$ rosrun beginner_tutorials add_two_ints_client 1 3 (C++) $ rosrun beginner_tutorials add_two_ints_client.py 1 3 (Python)
You should see something similar to:
Requesting 1+3 1 + 3 = 4
Now that you've successfully run your first server and client, let's learn how to record and play back data.






