Skip to content
Open
Changes from 1 commit
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 @@ -53,6 +53,15 @@ class LifecycleNodeInterface
LifecycleNodeInterface() {}

public:
/// Return values for lifecycle transition callbacks.
Comment thread
shlokbandiwar marked this conversation as resolved.
Outdated
///
/// SUCCESS: The callback completed successfully and the transition can proceed.
///
/// FAILURE: The callback did not succeed, and the transition will not proceed.
/// The node remains in its current state.
///
/// ERROR: An error occurred during the callback execution.
/// The node may transition to an error handling state.
Comment thread
shlokbandiwar marked this conversation as resolved.
Outdated
Comment thread
shlokbandiwar marked this conversation as resolved.
Outdated
enum class CallbackReturn : uint8_t
{
SUCCESS = lifecycle_msgs::msg::Transition::TRANSITION_CALLBACK_SUCCESS,
Expand Down