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: source/Tutorials/Actions/Writing-a-Cpp-Action-Server-Client.rst
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,8 @@ As we saw in the :ref:`CreatePkg` tutorial, we need to create a new package to h
37
37
1.1 Creating the action_tutorials_cpp package
38
38
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39
39
40
-
Go into the action workspace you created in the previous tutorial, and create a new package for the C++ action server:
40
+
Go into the action workspace you created in the :ref:`previous tutorial<ActionCreate>` (remember to source the workspace), and create a new package for the C++ action server:
41
41
42
-
(Remember to :ref:`source the workspace from the previous tutorial <ActionCreate>` first.)
In previous tutorials you utilized message and service interfaces to learn about topics, services, and simple publisher/subscriber and service/client nodes.
19
+
In previous tutorials you utilized message and service interfaces to learn about :ref:`topics<ROS2Topics>`, :ref:`services<ROS2Services>`, and simple publisher/subscriber (:ref:`C++<CppPubSub>`/:ref:`Python<PyPubSub>`) and service/client (:ref:`C++<CppSrvCli>`/:ref:`Python<PySrvCli>`) nodes.
20
20
The interfaces you used were predefined in those cases.
21
21
22
22
While it’s good practice to use predefined interface definitions, you will probably need to define your own messages and services sometimes as well.
@@ -208,7 +208,7 @@ A few simple modifications to the nodes, ``CMakeLists`` and ``package`` files wi
208
208
7.1 Testing ``Num.msg`` with pub/sub
209
209
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210
210
211
-
With some slight modifications to the publisher/subscriber package created in a previous tutorial, you can see ``Num.msg`` in action.
211
+
With some slight modifications to the publisher/subscriber package created in a previous tutorial (:ref:`C++ <CppPubSub>` or :ref:`Python <PyPubSub>`), you can see ``Num.msg`` in action.
212
212
Since you’ll be changing the standard string msg to a numerical one, the output will be slightly different.
213
213
214
214
Publisher:
@@ -478,7 +478,7 @@ Since ``Num.msg`` relays only an integer, the talker should only be publishing i
478
478
7.2 Testing ``AddThreeInts.srv`` with service/client
With some slight modifications to the service/client package created in a previous tutorial, you can see ``AddThreeInts.srv`` in action.
481
+
With some slight modifications to the service/client package created in a previous tutorial (:ref:`C++ <CppSrvCli>` or :ref:`Python <PySrvCli>`), you can see ``AddThreeInts.srv`` in action.
482
482
Since you’ll be changing the original two integer request srv to a three integer request srv, the output will be slightly different.
Copy file name to clipboardExpand all lines: source/Tutorials/Single-Package-Define-And-Use-Interface.rst
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,6 @@ Background
22
22
23
23
In a :ref:`previous tutorial <CustomInterfaces>`, you learned how to create custom msg and srv interfaces.
24
24
25
-
.. In previous tutorials, you learned how to create :ref:`custom msg and srv interfaces <CustomInterfaces>` and :ref:`action interfaces <ActionCreate>`. (When actions redo is done)
26
-
27
25
While best practice is to declare interfaces in dedicated interface packages, sometimes it can be convenient to declare, create and use an interface all in one package.
28
26
29
27
Recall that interfaces can currently only be defined in CMake packages.
0 commit comments