You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configuration/packages/configuring-docking-server.rst
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -479,6 +479,41 @@ Simple Charging Dock is a provided charging dock plugin that can handle many doc
479
479
Description
480
480
Whether to use external detection topic for dock or use the databases' pose.
481
481
482
+
:<dock_name>.detector_service_name:
483
+
484
+
============== ==============
485
+
Type Default
486
+
-------------- --------------
487
+
string ""
488
+
============== ==============
489
+
490
+
Description
491
+
Optional ``std_srvs/Trigger`` service invoked when detection starts or stops via ``startDetectionProcess`` / ``stopDetectionProcess``.
492
+
493
+
:<dock_name>.detector_service_timeout:
494
+
495
+
============== ==================
496
+
Type Default
497
+
-------------- ------------------
498
+
double 5.0
499
+
============== ==================
500
+
501
+
Description
502
+
Timeout (s) to wait for ``detector_service_name`` to become available and respond.
503
+
504
+
:<dock_name>.subscribe_toggle:
505
+
506
+
============== ==============
507
+
Type Default
508
+
-------------- --------------
509
+
bool false
510
+
============== ==============
511
+
512
+
Description
513
+
When true, subscribe to ``detected_dock_pose`` only while detection is active; otherwise keep the subscription persistent.
514
+
515
+
Dock plugins call ``startDetectionProcess`` before the ``getRefinedPose`` loop and ``stopDetectionProcess`` once docking ends. Configure these settings to manage detector resources on demand.
Removed the parameter ``action_server_result_timeout`` from all action servers after resolution within ``rcl`` and ``rclcpp`` to address early goal removal.
203
203
This is not longer required to be set.
204
204
205
+
Dock Plugin Detector Control
206
+
----------------------------
207
+
208
+
`PR #5218 <https://github.com/ros-navigation/navigation2/pull/5218>`_ adds on-demand detector control to ``opennav_docking``.
209
+
``ChargingDock`` and ``NonChargingDock`` now provide pure virtual ``startDetectionProcess`` / ``stopDetectionProcess`` functions that the docking server invokes around the perception loop.
210
+
211
+
- Custom dock plugins must implement the new hooks (return ``true`` if nothing extra is required).
212
+
- ``Simple(Non)ChargingDock`` gained ``detector_service_name``, ``detector_service_timeout``, and ``subscribe_toggle`` parameters so a detector service can be triggered only while detections are needed.
213
+
- See :ref:`configuring_docking_server` for the updated parameter reference and YAML example.
214
+
205
215
Added Corner Smoothing functionality to route_server
0 commit comments