Skip to content

Commit

Permalink
Add info for 'plugin' parameter for plugin namespaces (ros-navigation#35
Browse files Browse the repository at this point in the history
)

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>
  • Loading branch information
naiveHobo authored Jun 30, 2020
1 parent 44f7f0f commit 43758c3
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configuration/packages/configuring-controller-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@ Parameters
Description
List of mapped names for controller plugins for processing requests and parameters.

Note
Each plugin namespace defined in this list needs to have a :code:`plugin` parameter defining the type of plugin to be loaded in the namespace.

Example:

.. code-block:: yaml
controller_server:
ros__parameters:
controller_plugins: ["FollowPath"]
FollowPath:
plugin: "dwb_core::DWBLocalPlanner"
..
:min_x_velocity_threshold:

============== =============================
Expand Down
18 changes: 18 additions & 0 deletions configuration/packages/configuring-costmaps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,24 @@ Costmap2D ROS Parameters
Description
List of mapped plugin names for parameter namespaces and names.

Note
Each plugin namespace defined in this list needs to have a :code:`plugin` parameter defining the type of plugin to be loaded in the namespace.

Example:

.. code-block:: yaml
local_costmap:
ros__parameters:
plugins: ["obstacle_layer", "voxel_layer", "inflation_layer"]
obstacle_layer:
plugin: "nav2_costmap_2d::ObstacleLayer"
voxel_layer:
plugin: "nav2_costmap_2d::VoxelLayer"
inflation_layer:
plugin: "nav2_costmap_2d::InflationLayer"
..
Default Plugins
***************

Expand Down
14 changes: 14 additions & 0 deletions configuration/packages/configuring-planner-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@ Parameters
Description
List of Mapped plugin names for parameters and processing requests.

Note
Each plugin namespace defined in this list needs to have a :code:`plugin` parameter defining the type of plugin to be loaded in the namespace.

Example:

.. code-block:: yaml
planner_server:
ros__parameters:
planner_plugins: ["GridBased"]
GridBased:
plugin: "nav2_navfn_planner/NavfnPlanner"
..
:expected_planner_frequency:

============== ========
Expand Down
18 changes: 18 additions & 0 deletions configuration/packages/configuring-recovery-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,24 @@ Recovery Server Parameters
Description
List of plugin names to use, also matches action server names.

Note
Each plugin namespace defined in this list needs to have a :code:`plugin` parameter defining the type of plugin to be loaded in the namespace.

Example:

.. code-block:: yaml
recoveries_server:
ros__parameters:
recovery_plugins: ["spin", "backup", "wait"]
spin:
plugin: "nav2_recoveries/Spin"
backup:
plugin: "nav2_recoveries/BackUp"
wait:
plugin: "nav2_recoveries/Wait"
..
Default Plugins
***************

Expand Down

0 comments on commit 43758c3

Please sign in to comment.