From cb9ddc2d8162ac2ec0d82579657b984335ec9aef Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 1 Apr 2010 23:57:40 +0200 Subject: digital/io/src: use one FSM with several active states, closes #83 --- digital/io/src/top.fsm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'digital/io/src/top.fsm') 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. -- cgit v1.2.3