-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
int32 id | ||
int32 parent -1 | ||
int32 id # state ID inside a state machine | ||
int32 parent -1 # ID of the parent of this state | ||
|
||
string name | ||
yasmin_msgs/Transition[] transitions | ||
string[] outcomes | ||
string name # state name inside the state machine | ||
yasmin_msgs/Transition[] transitions # transitions for this state | ||
string[] outcomes # list of outcomes of this state | ||
|
||
bool is_fsm | ||
int32 current_state -1 | ||
bool is_fsm # whether this state is a state machine | ||
int32 current_state -1 # ID of the current state of this state if it is a state machine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
yasmin_msgs/State[] states | ||
yasmin_msgs/State[] states # list of states that compose a state machine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
|
||
string outcome | ||
string state | ||
string outcome # outcome, from a state, of the transition | ||
string state # state (also can be an outcome of a state machine) of the transition |