AssistedTeleop
Invokes the AssistedTeleop ROS 2 action server, which filters teleop twist commands to prevent collisions. This is used in nav2 Behavior Trees as a recovery behavior or a regular behavior. The nav2_behaviors module implements the AssistedTeleop action server.
Input Ports
is_recovery
- Type:
boolDefault:false -
If true increment the recovery counter.
time_allowance
- Type:
doubleDefault:10.0 -
Time to invoke behavior for, if exceeds considers it a stuck condition or failure case (seconds).
server_name
- Type:
stringDefault:N/A -
Action server name. If not specified,
assisted_teleopis 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
error_code_id
- Type:
uint16Default:N/A -
Assisted teleop error code. See
AssistedTeleopaction message for the enumerated set of error codes.
error_msg
- Type:
stringDefault:N/A -
Assisted teleop error message. See
AssistedTeleopaction message for the enumerated set of error codes.
Example
<AssistedTeleop is_recovery="false" server_name="assisted_teleop_server" server_timeout="10"
error_code_id="{assisted_teleop_error_code}" error_msg="{assisted_teleop_error_msg}"/>