rcl_action
master
C API providing common functionality for ROS actions.
|
Go to the source code of this file.
Functions | |
RCL_ACTION_PUBLIC rcl_action_goal_state_t | rcl_action_transition_goal_state (const rcl_action_goal_state_t state, const rcl_action_goal_event_t event) |
Transition a goal from one state to the next. More... | |
RCL_ACTION_PUBLIC rcl_action_goal_state_t rcl_action_transition_goal_state | ( | const rcl_action_goal_state_t | state, |
const rcl_action_goal_event_t | event | ||
) |
Transition a goal from one state to the next.
Given a goal state and a goal event, return the next state.
[in] | state | the state to transition from |
[in] | event | the event triggering a transition |
GOAL_STATE_UNKNOWN
if the transition is invalid or an error occured