summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/top.fsm
diff options
context:
space:
mode:
authorNicolas Schodet2010-04-01 23:57:40 +0200
committerNicolas Schodet2010-04-01 23:57:40 +0200
commitcb9ddc2d8162ac2ec0d82579657b984335ec9aef (patch)
tree952c6193ffb4b880f71990628a830825cd9d4f6e /digital/io/src/top.fsm
parent80b3da91dac28a5895a8cb9f0477a7008365dd56 (diff)
digital/io/src: use one FSM with several active states, closes #83
Diffstat (limited to 'digital/io/src/top.fsm')
-rw-r--r--digital/io/src/top.fsm7
1 files changed, 4 insertions, 3 deletions
diff --git a/digital/io/src/top.fsm b/digital/io/src/top.fsm
index 8203dfdb..dde79a51 100644
--- a/digital/io/src/top.fsm
+++ b/digital/io/src/top.fsm
@@ -3,7 +3,7 @@ top
Main FSM calling other FSM.
States:
- IDLE
+ *IDLE
waiting for the beginning of the top FSM.
WAIT_INIT_TO_FINISH
waiting for the end of init.
@@ -15,8 +15,6 @@ Events:
when the move FSM returns with success.
move_fsm_failed
when the move FSM returns with an error.
- move_fsm_stopped
- when the move FSM has stop the bot (as asked).
bot_move_succeed
when the bot has succeed its asserv movement.
bot_move_failed
@@ -28,6 +26,9 @@ Events:
asserv_last_cmd_ack
last command sent to the asserv board has been acquitted.
+import init.fsm
+import move.fsm
+
IDLE:
start -> WAIT_INIT_TO_FINISH
nothing to do.