Skip to content

Commit 4e96ec8

Browse files
thebyohazardthebyohazard
authored andcommitted
Add primary state error transition constants to message definition
Signed-off-by: thebyohazard <[email protected]>
1 parent f1d709b commit 4e96ec8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lifecycle_msgs/msg/Transition.msg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ uint8 TRANSITION_ON_ERROR_SUCCESS = 60
4444
uint8 TRANSITION_ON_ERROR_FAILURE = 61
4545
uint8 TRANSITION_ON_ERROR_ERROR = 62
4646

47+
# These transitions are internally
48+
# available to the lifecycle node to
49+
# be called when an error arises during
50+
# normal operation that causes the node
51+
# to need reconfiguration.
52+
uint8 TRANSITION_ACTIVE_ERROR = 63
53+
uint8 TRANSITION_INACTIVE_ERROR = 64
54+
4755
# These return values ought to be set
4856
# as a return value for each callback.
4957
# Depending on which return value,

0 commit comments

Comments
 (0)