initial version of transport state machine diagram
This commit is contained in:
parent
eddac2e3b2
commit
19540e5ad7
26
doc/transport-state.gv
Normal file
26
doc/transport-state.gv
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
digraph finite_state_machine {
|
||||||
|
rankdir=TB;
|
||||||
|
start="STOPPED";
|
||||||
|
|
||||||
|
node [shape = ellipse];
|
||||||
|
STOPPED -> locateWait [ label = "Locate/Chase", fontcolor=red ];
|
||||||
|
STOPPED -> prerollWait [ label = "speed(!0)",fontcolor=red];
|
||||||
|
|
||||||
|
masterWait -> prerollWait [ label = "MasterHere", fontcolor=red ];
|
||||||
|
|
||||||
|
prerollWait -> ROLLING;
|
||||||
|
prerollWait -> STOPPED [ label = "speed(0)", fontcolor=red ];
|
||||||
|
ROLLING -> DECLICKOUT [ label = "speed(0)/Locate/Chase",fontcolor=red ]
|
||||||
|
ROLLING -> reverseWait [ label = "speed(-speed)",fontcolor=red ];
|
||||||
|
|
||||||
|
reverseWait -> ROLLING;
|
||||||
|
|
||||||
|
DECLICKOUT -> STOPPED;
|
||||||
|
DECLICKOUT -> locateWait;
|
||||||
|
DECLICKOUT -> masterWait [ label = "Chase",fontcolor=red ];
|
||||||
|
|
||||||
|
locateWait -> masterWait [ label = "Chase",fontcolor=red ];
|
||||||
|
locateWait -> STOPPED [ label = "autoplay-off",fontcolor=blue ];
|
||||||
|
locateWait -> prerollWait [ label = "autoplay-on",fontcolor=blue ];
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user