From faa83d32ca7e665ed6b98b536606706fa8fe7a69 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Mon, 3 Mar 2008 23:31:57 +0100 Subject: Correct errors. --- digital/io/doc/chargeBall.dot | 10 +++++----- digital/io/doc/chuteFsm.dot | 14 +++++++------- digital/io/doc/getSamplesFsm.dot | 14 +++++++------- digital/io/doc/makefile | 16 +++++++++++----- 4 files changed, 30 insertions(+), 24 deletions(-) diff --git a/digital/io/doc/chargeBall.dot b/digital/io/doc/chargeBall.dot index d5bf2507..8627f2ed 100644 --- a/digital/io/doc/chargeBall.dot +++ b/digital/io/doc/chargeBall.dot @@ -1,8 +1,8 @@ /* IO.avr module. Charge balls Final State Machine */ -digraph chargeBallFsm +digraph loadBallFsm { node [color=lightblue2, style=filled]; - "Rotate harm" -> "Go backward" [label = "Harm in position"]; - "Go backward" -> "Stop harm" [label = "Poisition reached"]; - "Stop harm" -> End [label = "Harm stopped"]; -} \ No newline at end of file + "Rotate arm" -> "Go backward" [label = "arm in position"]; + "Go backward" -> "Stop arm" [label = "Poisition reached"]; + "Stop arm" -> End [label = "arm stopped"]; +} diff --git a/digital/io/doc/chuteFsm.dot b/digital/io/doc/chuteFsm.dot index ede3fbe0..14ecbecb 100644 --- a/digital/io/doc/chuteFsm.dot +++ b/digital/io/doc/chuteFsm.dot @@ -1,9 +1,9 @@ /* IO.avr module. Chute Final State Machine */ -digraph chuteFsm +digraph StdContenerFsm { - "Go to chute" -> "Go to the wall backward" [label = "Near the chute."]; - "Go to the wall backward" -> "Open chute" [label = "On the wall"]; - "Open chute" -> "Wait fixed time" [label = "Chute opened"]; - "Wait fixed time" -> "Close chute" [label = "Time out"]; - "Close chute" -> End [label = "Chute closed"]; -} \ No newline at end of file + "Go to std contener" -> "Go to the wall backward" [label = "Near the std contener."]; + "Go to the wall backward" -> "Open std contener" [label = "On the wall"]; + "Open std contener" -> "Wait fixed time" [label = "std contener opened"]; + "Wait fixed time" -> "Close std contener" [label = "Time out"]; + "Close std contener" -> End [label = "std contener closed"]; +} diff --git a/digital/io/doc/getSamplesFsm.dot b/digital/io/doc/getSamplesFsm.dot index 027e679a..74f18fb4 100644 --- a/digital/io/doc/getSamplesFsm.dot +++ b/digital/io/doc/getSamplesFsm.dot @@ -2,12 +2,12 @@ digraph GetSamplesFsm { node [color=lightblue2, style=filled]; - "Go to position" -> "Prepare Harm for ditributor" [label = "Position reached"]; - "Prepare Harm for ditributor" -> "Forward controled" [label = "Harm prepared"]; + "Go to position" -> "Prepare Arm for ditributor" [label = "Position reached"]; + "Prepare Arm for ditributor" -> "Forward controled" [label = "Harm prepared"]; "Forward controled" -> "Prepare classifier" [label = "Ready to peek samples"]; - "Prepare classifier" -> "Activate harm" [label = "Classifier prepared"]; - "Activate harm" -> "Go backward" [label = "Harm activated"]; - "Go backward" -> "Continue harm rotation" [label = "Position reached"]; - "Continue harm rotation" -> "Continue classifier" [label = "Harm stopped"]; + "Prepare classifier" -> "Activate arm" [label = "Classifier prepared"]; + "Activate arm" -> "Go backward" [label = "Arm activated"]; + "Go backward" -> "Continue arm rotation" [label = "Position reached"]; + "Continue arm rotation" -> "Continue classifier" [label = "Arm stopped"]; "Continue classifier" -> End [label = "Classification ended"]; -} \ No newline at end of file +} diff --git a/digital/io/doc/makefile b/digital/io/doc/makefile index e0213364..23521af7 100644 --- a/digital/io/doc/makefile +++ b/digital/io/doc/makefile @@ -1,5 +1,11 @@ -fsm : mainFsm.dot chargeBall.dot getSamplesFsm.dot chuteFsm.dot - dot -Tpng -o mainFsm.png mainFsm.dot - dot -Tpng -o chargeBall.png chargeBall.dot - dot -Tpng -o getSamplesFsm.png getSamplesFsm.dot - dot -Tpng -o chuteFsm.png chuteFsm.dot \ No newline at end of file +DOT = mainFsm.dot chargeBall.dot getSamplesFsm.dot chuteFsm.dot + +PNG = $(DOT:%.dot=%.png) + +all: $(PNG) + +%.png: %.dot + dot -Tpng -o $@ $< + +clean: + rm -f $(PNG) -- cgit v1.2.3