get_current_action
Service type: fourier_msgs/srv/GetCurrentAction
File
fourier_msgs/srv/GetCurrentAction.srv
Description
Gets information about the currently executing navigation action.
Request
| Element | Type | Description |
|---|---|---|
| dummy | bool | IDL compatibility placeholder; ignored. |
Response
| Element | Type | Description |
|---|---|---|
| success | bool | Whether information was obtained. |
| action_name | string | Current action name. |
| goal_status | action_msgs/msg/GoalStatus | Standard ROS 2 goal status. GRW fills status. |
| status_description | string | Human-readable status description. |
Goal status codes
For navigate_to_pose, use the action result rather than one poll to determine the final outcome.
| Code | Name | Description |
|---|---|---|
| 0 | STATUS_UNKNOWN | No active action or an unknown status. |
| 1 | STATUS_ACCEPTED | Accepted and waiting to execute. |
| 2 | STATUS_EXECUTING | Executing. |
| 3 | STATUS_CANCELING | Canceling; this query currently does not return this value. |
| 4 | STATUS_SUCCEEDED | Completed successfully. |
| 5 | STATUS_CANCELED | Canceled or interrupted. |
| 6 | STATUS_ABORTED | Aborted or failed. |