Skip to content

Commit 0ff7362

Browse files
Doc for dock_direction param (#678)
* Update doc for dock_direction param Signed-off-by: Alberto Tudela <ajtudela@gmail.com> * Fix typo Signed-off-by: Alberto Tudela <ajtudela@gmail.com> * Fix typo Signed-off-by: Alberto Tudela <ajtudela@gmail.com> * Update migration/Jazzy.rst Co-authored-by: Steve Macenski <stevenmacenski@gmail.com> Signed-off-by: Alberto Tudela <ajtudela@gmail.com> --------- Signed-off-by: Alberto Tudela <ajtudela@gmail.com> Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
1 parent c9cb9f7 commit 0ff7362

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

configuration/packages/configuring-docking-server.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Parameters
126126
============== ==============
127127

128128
Description
129-
Whether the robot is docking with the dock forward or backward in motion.
129+
Whether the robot is docking with the dock forward or backward in motion. This parameter is deprecated. Use the dock plugin's ``dock_direction`` parameter instead.
130130

131131
:dock_prestaging_tolerance:
132132

@@ -557,6 +557,17 @@ Simple Charging Dock is a provided charging dock plugin that can handle many doc
557557
Description
558558
If not using stall detection, the pose threshold to the docking pose where ``isDocked() = true``.
559559

560+
:<dock_name>:dock_direction:
561+
562+
============== ==============
563+
Type Default
564+
-------------- --------------
565+
string "forward"
566+
============== ==============
567+
568+
Description
569+
Whether the robot is docking with the dock forward or backward in motion. This is the replacement for the deprecated ``dock_backwards`` parameter. Options are "forward" or "backward".
570+
560571
Example
561572
*******
562573
.. code-block:: yaml
@@ -572,7 +583,6 @@ Example
572583
max_retries: 3
573584
base_frame: "base_link"
574585
fixed_frame: "odom"
575-
dock_backwards: false
576586
dock_prestaging_tolerance: 0.5
577587
service_introspection_mode: "disabled"
578588
@@ -593,6 +603,7 @@ Example
593603
external_detection_rotation_pitch: -1.57
594604
external_detection_rotation_yaw: 0.0
595605
filter_coef: 0.1
606+
dock_direction: "forward" # "backward"
596607
597608
# Dock instances
598609
docks: ['home_dock']

migration/Jazzy.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,3 +439,9 @@ Because live monitoring of Behavior Tree with more than 20 nodes and visualizing
439439
.. note::
440440

441441
Currently, there is a known bug that crashes Groot 2 when visualizing vectors and related types (e.g., ``Goals`` and ``Path``) contained in the blackboard. Efforts are underway to resolve this issue. For updates, please refer to the following links: `Groot2 issue #55 <https://github.com/BehaviorTree/Groot2/issues/55>`_ and `BehaviorTree PR #958 <https://github.com/BehaviorTree/BehaviorTree.CPP/pull/958>`_.
442+
443+
Docking backwards as plugin parameter
444+
*************************************
445+
In `PR #5079 <https://github.com/ros-navigation/navigation2/pull/5079>`_, the ``dock_backwards`` boolean parameter has been moved from the docking server to the dock plugin as the string parameter ``dock_direction``. This allows the user to have multiple dock plugins with different directions in the same docking server. Default value is ``forward`` but may also be set as ``backward``.
446+
447+
See :ref:`_configuring_docking_server` for more information.

0 commit comments

Comments
 (0)