Skip to content

Add warning that actions require ament_cmake, not ament_python #4986 #5201

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

Open
wants to merge 13 commits into
base: rolling
Choose a base branch
from
Open
Changes from 2 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
10 changes: 9 additions & 1 deletion source/Tutorials/Intermediate/Creating-an-Action.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ Tasks
1 Creating an interface package
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Actions can only be created in a C++ package using ``ament_cmake``. They are not supported
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think this is true. it does not have to be C++ package, rather it has to be CMake package.

in Python packages using ``ament_python``. This restriction also applies to messages and services, so
ensure your package is configured as a C++ package before proceeding with this tutorial.

.. note::
It is recommended to define action interfaces in this tutorial. This improves modularity and makes it
easier to reuse them across multiple projects.

.. tabs::

.. group-tab:: Linux
Expand Down Expand Up @@ -211,4 +219,4 @@ Next, let's utilize your newly defined action interface by creating an action se
Related content
---------------

For more detailed information about ROS actions, please refer to the `design article <http://design.ros2.org/articles/actions.html>`__.
For more detailed information about ROS actions, please refer to the `design article <http://design.ros2.org/articles/actions.html>`__.
Loading