From b93648c288dbd012be15509630f645ff2e42e46f Mon Sep 17 00:00:00 2001 From: thebyohazard <> Date: Mon, 13 Apr 2020 14:51:44 -0500 Subject: [PATCH] Add primary state error transition constants to message definition Signed-off-by: thebyohazard --- lifecycle_msgs/msg/Transition.msg | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lifecycle_msgs/msg/Transition.msg b/lifecycle_msgs/msg/Transition.msg index 23305432..d81b0125 100644 --- a/lifecycle_msgs/msg/Transition.msg +++ b/lifecycle_msgs/msg/Transition.msg @@ -44,6 +44,14 @@ uint8 TRANSITION_ON_ERROR_SUCCESS = 60 uint8 TRANSITION_ON_ERROR_FAILURE = 61 uint8 TRANSITION_ON_ERROR_ERROR = 62 +# These transitions are internally +# available to the lifecycle node to +# be called when an error arises during +# normal operation that causes the node +# to need reconfiguration. +uint8 TRANSITION_ACTIVE_ERROR = 63 +uint8 TRANSITION_INACTIVE_ERROR = 64 + # These return values ought to be set # as a return value for each callback. # Depending on which return value,