Skip to content

WouldARouteRecoveryHelp

Checks if the active route server error code is UNKNOWN, NO_VALID_ROUTE, or TIMEOUT.

If the active error code is a match, the node returns SUCCESS. Otherwise, it returns FAILURE.

Input Ports

error_code

Type: uint16 Default: N/A

The active error code to compare against. This should match the route server error code.

error_codes_to_check

Type: vector<int> Default: N/A

The set of route server error codes you wish to compare against the active error code.

Example

<WouldARouteRecoveryHelp error_code="{compute_route_to_pose_error_code}"/>