Skip to content

Commit 8efeb17

Browse files
author
Murilo Marinho
committed
[action_servers] Adding a description about the setup.py
1 parent fcdc7c4 commit 8efeb17

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/source/action_servers.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,15 @@ Note that we use an arbitrary minimum distance as stop criterion. Do not expect
8080
that we are using floating point representation for the numbers. If you do not add a stopping range it is likely
8181
that your node will be stuck forever.
8282

83+
Adjusting the :file:`setup.py`
84+
------------------------------
85+
86+
This file will include the directives for the server and client. The one for the server is highlighted below.
87+
88+
.. literalinclude:: ../../ros2_tutorial_workspace/src/python_package_that_uses_the_actions/setup.py
89+
:language: python
90+
:emphasize-lines: 23
91+
8392
Testing the Action Server
8493
-------------------------
8594

0 commit comments

Comments
 (0)