You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/action_servers_and_clients.rst
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,19 @@
7
7
Call for Actions: Servers and Clients
8
8
=====================================
9
9
10
-
What about a mixture of :code:`Messages` and :code:`Services`? That is where :code:`Actions` come into play.
10
+
What about a mixture of messages and services? That is where actions come into play.
11
11
12
-
We use :code:`Actions` by creating an :code:`ActionServer`. The :code:`ActionServer` will provide an action that can be accessed by one or more :code:`ActionClient`\s.
12
+
We use actions by creating an :code:`ActionServer`. The :code:`ActionServer` called by one or more :code:`ActionClient`\s.
13
13
14
-
Similarly to a :code:`Service`, each :code:`Action` should only have a single :code:`ActionServer` that will receive a :code:`Goal` and provide a :code:`Result`.
15
-
The :code:`Feedback` topic is XYZ.
14
+
Similarly to a service, each action should only have a single :code:`ActionServer` that will receive a :code:`Goal` and provide a :code:`Result`.
15
+
It will also provide :code:`Feedback` through a suitable topic. It can be argued that the main difference between a service
16
+
and an action is the capability of providing feedback while the action is performed. A service, in contrast, only outputs
17
+
a single, final result of the service call.
16
18
17
19
Create the package
18
20
------------------
19
21
20
-
We start by creating a package to use the :code:`Service` we first created in :ref:`The service file`.
22
+
We start by creating a package to use the action we first created in :ref:`The action file`.
0 commit comments