Skip to main content

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​

ElementTypeDescription
dummyboolIDL compatibility placeholder; ignored.

Response​

ElementTypeDescription
successboolWhether information was obtained.
action_namestringCurrent action name.
goal_statusaction_msgs/msg/GoalStatusStandard ROS 2 goal status. GRW fills status.
status_descriptionstringHuman-readable status description.

Goal status codes​

For navigate_to_pose, use the action result rather than one poll to determine the final outcome.

CodeNameDescription
0STATUS_UNKNOWNNo active action or an unknown status.
1STATUS_ACCEPTEDAccepted and waiting to execute.
2STATUS_EXECUTINGExecuting.
3STATUS_CANCELINGCanceling; this query currently does not return this value.
4STATUS_SUCCEEDEDCompleted successfully.
5STATUS_CANCELEDCanceled or interrupted.
6STATUS_ABORTEDAborted or failed.