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:
stringDefault:N/A -
The dock plugin type, if not previous instance used for docking.
max_undocking_time
- Type:
floatDefault:30.0 -
Maximum time to get back to the staging pose.
server_name
- Type:
stringDefault:N/A -
Action server name. If not specified,
undock_robotis used.
server_timeout
- Type:
chrono::millisecondsDefault:N/A -
Action server timeout (ms). If not provided, uses the BT Navigator's
default_server_timeoutparameter value (20 ms by default).
Output Ports
success
- Type:
boolDefault:N/A -
If the action was successful.
error_code_id
- Type:
uint16Default:N/A -
Dock robot error code. See
UndockRobotaction message for the enumerated set of error codes.
error_msg
- Type:
stringDefault:N/A -
Dock robot error message. See
UndockRobotaction message for the enumerated set of error codes.
Example
<UndockRobot dock_type="{dock_type}" error_code_id={undock_error_code} error_msg={undock_error_msg}/>