Skip to content

Commit eab5b4e

Browse files
authored
Add tutorial for listing registered plugins (#5944)
Signed-off-by: Maurice <[email protected]>
1 parent 8813cbc commit eab5b4e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/Tutorials/Beginner-Client-Libraries/Pluginlib.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,15 @@ From ``ros2_ws``, be sure to source the setup files:
330330
331331
$ call install/setup.bat
332332
333+
You can verify that your plugins were successfully registered by listing them:
334+
335+
.. code-block:: console
336+
337+
$ ros2 plugin list
338+
polygon_plugins:
339+
Plugin(name='polygon_plugins::Square', type='polygon_plugins::Square', base='polygon_base::RegularPolygon')
340+
Plugin(name='polygon_plugins::Triangle', type='polygon_plugins::Triangle', base='polygon_base::RegularPolygon')
341+
333342
Now run the node:
334343

335344
.. code-block:: console

0 commit comments

Comments
 (0)