chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
617b162
)
hostside/measure-speeds: wip outer oval, comments only so far
author
Ian Jackson
<ian@davenant.greenend.org.uk>
Sun, 2 Jan 2011 20:08:51 +0000
(20:08 +0000)
committer
Ian Jackson
<ian@davenant.greenend.org.uk>
Sun, 2 Jan 2011 20:08:51 +0000
(20:08 +0000)
hostside/measure-speeds
patch
|
blob
|
history
diff --git
a/hostside/measure-speeds
b/hostside/measure-speeds
index d2f9949d1f5e4b5758d037cf6e28509eb80f9e39..e511dea1adf87e365aee6ba432fc4de1d003c0f1 100755
(executable)
--- a/
hostside/measure-speeds
+++ b/
hostside/measure-speeds
@@
-6,6
+6,7
@@
# For stop distance at speed (say) 126,
# Put loco on track segment X5 ish, facing ANTICLOCKWISE
+# OR put on track segment or C7 ish, facing CLOCKWISE
# ./measure-speeds /dev/railway 2 0 126
# debugging:
@@
-88,15
+89,12
@@
proc proc-msg {msg} {
exit 1
}
-#
-# A6 06
-# A5 14
-#
-# X7 02
-# X5 04
-# X6 0a
-# X8 09
-#
+# For speed or stopping distance tests For stopping distance test only
+# A5 14 -C1 11
+# X7 02 -C9 2e
+# X5 04 -C8 34
+# X6 0a -C7 32
+# X8 09 -C5 2f
proc speed-msg {speed} {
global loco reverse