summaryrefslogtreecommitdiffhomepage
path: root/digital/io/doc/mainFsm.dot
blob: 796947a2397b6cfde699f73c2daf767ae7a05436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* IO.avr module. Main  Final State Machine */
digraph mainFsm 
{
	node [color=lightblue2, style=filled];
	start -> "get samples" [label = "1"];
	"get samples" -> "get ice" [label = "Samples took"];
	"get ice" -> "Go to goal" [label = "Ice took"];
	"Go to goal" -> "get samples" [label = "Samples deposed"];

	"get samples" -> "Go to goal" [label = "Samples took\n and ice distributor empty\n and not enough time"];
	"Go to goal" -> "get adv ice" [label = "Sample deposed\n and ice distributor empty"];
	"get adv ice" -> "get samples" [label = "Ice took"];
	"get samples" -> "get adv ice" [label = "Sample took and\n ice distributor empty\n and enough time"];
	"get adv ice" -> "Go to goal" [label = "Ice took\nCollector full"];
	"get samples" -> "Go to goal" [label = "Collector full"];
}