Skip to content
Merged

Kilted #5514

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
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ For that to work, the ``__init__`` code has to be changed to:

self.timer = self.create_timer(1, self.timer_callback)

Since we are importing ``rcl_interfaces``, we need to add the dependency to ``package.xml`` to avoid any dependency issue in the future.

.. code-block:: xml

# ...

<license>Apache-2.0</license>
<depend>rclpy</depend>
<depend>rcl_interfaces</depend>

The rest of the code remains the same.
Once you run the node, you can then run ``ros2 param describe /minimal_param_node my_parameter`` to see the type and description.
Expand Down