-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Dock/Undock BT to config (#577)
Signed-off-by: Alberto Tudela <[email protected]>
- Loading branch information
Showing
4 changed files
with
193 additions
and
0 deletions.
There are no files selected for viewing
120 changes: 120 additions & 0 deletions
120
configuration/packages/bt-plugins/actions/DockRobot.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
.. _bt_dock_robot_action: | ||
|
||
DockRobot | ||
========= | ||
|
||
Invokes the DockRobot ROS 2 action server, which is implemented by the docking server. | ||
|
||
It is used to dock the robot to a docking station. | ||
|
||
Input Ports | ||
*********** | ||
|
||
:use_dock_id: | ||
|
||
==== ======= | ||
Type Default | ||
---- ------- | ||
bool true | ||
==== ======= | ||
|
||
Description | ||
Whether to use the dock's ID or dock pose fields. | ||
|
||
:dock_id: | ||
|
||
====== ======= | ||
Type Default | ||
------ ------- | ||
string N/A | ||
====== ======= | ||
|
||
Description | ||
Dock ID or name to use. | ||
|
||
:dock_pose: | ||
|
||
========================= ======= | ||
Type Default | ||
------------------------- ------- | ||
geometry_msgs/PoseStamped N/A | ||
========================= ======= | ||
|
||
Description | ||
The dock pose, if not using dock id. | ||
|
||
:dock_type: | ||
|
||
====== ======= | ||
Type Default | ||
------ ------- | ||
string N/A | ||
====== ======= | ||
|
||
Description | ||
The dock plugin type, if using dock pose. | ||
|
||
:max_staging_time: | ||
|
||
===== ======= | ||
Type Default | ||
----- ------- | ||
float 1000.0 | ||
===== ======= | ||
|
||
Description | ||
Maximum time to navigate to the staging pose. | ||
|
||
:navigate_to_staging_pose: | ||
|
||
==== ======= | ||
Type Default | ||
---- ------- | ||
bool true | ||
==== ======= | ||
|
||
Description | ||
Whether to autonomously navigate to staging pose. | ||
|
||
Output Ports | ||
------------ | ||
|
||
:success: | ||
|
||
==== ======= | ||
Type Default | ||
---- ------- | ||
bool true | ||
==== ======= | ||
|
||
Description | ||
If the action was successful. | ||
|
||
:error_code_id: | ||
|
||
============== ======= | ||
Type Default | ||
-------------- ------- | ||
uint16 0 | ||
============== ======= | ||
|
||
Description | ||
Dock robot error code. See ``DockRobot`` action message for the enumerated set of error codes. | ||
|
||
:num_retries: | ||
|
||
====== ======= | ||
Type Default | ||
------ ------- | ||
uint16 0 | ||
====== ======= | ||
|
||
Description | ||
The number of retries executed. | ||
|
||
Example | ||
------- | ||
|
||
.. code-block:: xml | ||
<DockRobot dock_id="{dock_id}" error_code_id="{dock_error_code}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
.. _bt_undock_robot_action: | ||
|
||
UndockRobot | ||
=========== | ||
|
||
Invokes the UndockRobot ROS 2 action server, which is implemented by the docking server. | ||
|
||
It is used to undock the robot from a docking station. | ||
|
||
Input Ports | ||
*********** | ||
|
||
:dock_type: | ||
|
||
====== ======= | ||
Type Default | ||
------ ------- | ||
string N/A | ||
====== ======= | ||
|
||
Description | ||
The dock plugin type, if not previous instance used for docking. | ||
|
||
:max_undocking_time: | ||
|
||
===== ======= | ||
Type Default | ||
----- ------- | ||
float 30.0 | ||
===== ======= | ||
|
||
Description | ||
Maximum time to get back to the staging pose. | ||
|
||
Output Ports | ||
------------ | ||
|
||
:success: | ||
|
||
==== ======= | ||
Type Default | ||
---- ------- | ||
bool true | ||
==== ======= | ||
|
||
Description | ||
If the action was successful. | ||
|
||
:error_code_id: | ||
|
||
============== ======= | ||
Type Default | ||
-------------- ------- | ||
uint16 0 | ||
============== ======= | ||
|
||
Description | ||
Dock robot error code. See ``UndockRobot`` action message for the enumerated set of error codes. | ||
|
||
Example | ||
------- | ||
|
||
.. code-block:: xml | ||
<UndockRobot dock_type="{dock_type}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters