Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extra section in beginner tutorial. (backport #4650) #4653

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,37 +131,6 @@ Also make sure you export the message runtime dependency:
Now you're ready to generate source files from your msg definition.
We'll skip the compile step for now as we'll do it all together below in step 4.

2.2 (Extra) Set multiple interfaces
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. note::

You can use ``set`` in ``CMakeLists.txt`` to neatly list all of your interfaces:

.. code-block:: cmake

set(msg_files
"msg/Message1.msg"
"msg/Message2.msg"
# etc
)

set(srv_files
"srv/Service1.srv"
"srv/Service2.srv"
# etc
)

And generate all lists at once like so:

.. code-block:: cmake

rosidl_generate_interfaces(${PROJECT_NAME}
${msg_files}
${srv_files}
)


3 Use an interface from the same package
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down