Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,16 @@ class LifecycleNodeInterface
public:
enum class CallbackReturn : uint8_t
{
/// The callback completed successfully and the transition can proceed.
SUCCESS = lifecycle_msgs::msg::Transition::TRANSITION_CALLBACK_SUCCESS,

/// The callback completed normally, but the requested transition
/// could not be completed.
FAILURE = lifecycle_msgs::msg::Transition::TRANSITION_CALLBACK_FAILURE,
ERROR = lifecycle_msgs::msg::Transition::TRANSITION_CALLBACK_ERROR

/// An error occurred during callback execution.
/// The node transitions to an error handling state.
ERROR = lifecycle_msgs::msg::Transition::TRANSITION_CALLBACK_ERROR,
};

/// Callback function for configure transition
Expand Down