Skip to content

Commit

Permalink
Add primary state error transition constants to message definition
Browse files Browse the repository at this point in the history
Signed-off-by: thebyohazard <[email protected]>
  • Loading branch information
thebyohazard committed Apr 14, 2020
1 parent f1d709b commit b93648c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lifecycle_msgs/msg/Transition.msg
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b93648c

Please sign in to comment.