chiark / gitweb /
Ian Jackson [Tue, 28 Dec 2010 21:48:51 +0000 (21:48 +0000)]
movpos: wip multiple movfeatkinds in one request; before abolish indep_prepare
Ian Jackson [Tue, 28 Dec 2010 01:16:58 +0000 (01:16 +0000)]
movpos: wip multiple movfeatkinds in one request; working on indep code
Ian Jackson [Sun, 19 Dec 2010 18:04:46 +0000 (18:04 +0000)]
movpos: wip multiple different movfeatkinds in one request
Ian Jackson [Wed, 15 Dec 2010 21:19:38 +0000 (21:19 +0000)]
hostside/movpos: fix some comments in waggle section
Ian Jackson [Sat, 8 Jan 2011 21:42:05 +0000 (21:42 +0000)]
gui: get list of trains available from train_direction (ie "train * at") not train_commanded ("train * speed commanding") since the latter is sent by realtime even for trains which aren't on the layout
Ian Jackson [Sat, 8 Jan 2011 21:33:01 +0000 (21:33 +0000)]
gui: show unknown movpos with black-on-white labels
Ian Jackson [Sat, 8 Jan 2011 21:32:47 +0000 (21:32 +0000)]
gui: set all movpos to unknown in state Resolving
Ian Jackson [Sat, 8 Jan 2011 21:32:26 +0000 (21:32 +0000)]
gui: make movpos-button-sstate take a posn arg and make it call -setdisplay; no functional change
Ian Jackson [Sat, 8 Jan 2011 21:29:48 +0000 (21:29 +0000)]
Revert "gui: keypress for position-unknown movfeat normalises rather than reverses"
Actually, this change did the opposite of what was intended.
This reverts commit
a2e566e03eb861afc530369ae9cfc9e38a882771.
Ian Jackson [Sat, 8 Jan 2011 21:11:32 +0000 (21:11 +0000)]
hostside/multiplex: clear movpos states from replay list on Resolving
Ian Jackson [Sat, 8 Jan 2011 20:50:13 +0000 (20:50 +0000)]
realtime: tune the retransmission table, and change the time unit to be NMRADATA bytes rather than queue entries
Ian Jackson [Sat, 8 Jan 2011 20:37:45 +0000 (20:37 +0000)]
realtime: actually do initial queueing of speedmanager's retransmit nodes (!)
Ian Jackson [Sat, 8 Jan 2011 20:37:03 +0000 (20:37 +0000)]
realtime: do not retransmit NMRA idle packets for nonexistent adjucts - instead, transmit nothing at all
Ian Jackson [Sat, 8 Jan 2011 20:36:28 +0000 (20:36 +0000)]
realtime: fix a comment which referred to "features" rather than "adjuncts"
Ian Jackson [Sat, 8 Jan 2011 20:18:04 +0000 (20:18 +0000)]
realtime: add debugging output for retransmit.c
Ian Jackson [Sat, 8 Jan 2011 19:21:58 +0000 (19:21 +0000)]
realtime: Fix typo in comment
Ian Jackson [Sat, 8 Jan 2011 19:14:55 +0000 (19:14 +0000)]
detpic/display-nmra: new NmraAssist::HighPassFilter for more reliable capture of data from track
Ian Jackson [Fri, 7 Jan 2011 20:39:54 +0000 (20:39 +0000)]
realtime: actually ever regard anything as interfering (!) (confirmed fixed)
Ian Jackson [Fri, 7 Jan 2011 20:36:56 +0000 (20:36 +0000)]
realtime: actually ever regard anything as interfering (!)
Ian Jackson [Fri, 7 Jan 2011 01:51:10 +0000 (01:51 +0000)]
hostside/gui-plan: do not crash on the first "movepos Z0 position ? moving" (untested)
Ian Jackson [Thu, 6 Jan 2011 02:05:27 +0000 (02:05 +0000)]
hostside: rename nmra functions etc. from "features" to "adjuncts" (name chosen from NAMES-FOR-FEATURE)
Ian Jackson [Wed, 5 Jan 2011 00:47:02 +0000 (00:47 +0000)]
Makefiles: remove +persist.* and +realtime.log on clean, in hostside
Ian Jackson [Wed, 5 Jan 2011 00:46:44 +0000 (00:46 +0000)]
Makefiles: run realclean as tidy first then clean, as clean likes to delete some included makefiles which recursive tidy will put back
Ian Jackson [Wed, 5 Jan 2011 00:46:09 +0000 (00:46 +0000)]
Makefiles: add some more missing cleans: *.tmp, *.new, t u v, .*~, etc., in assorted directories
Ian Jackson [Wed, 5 Jan 2011 00:38:01 +0000 (00:38 +0000)]
Makefiles: add some missing cleans
Ian Jackson [Wed, 5 Jan 2011 00:37:41 +0000 (00:37 +0000)]
Makefiles: add tidy and realclean targets to all pics subdirs; detpic removes t.*.crash on tidy
Ian Jackson [Wed, 5 Jan 2011 00:18:24 +0000 (00:18 +0000)]
gui: keypress for position-unknown movfeat normalises rather than reverses
Ian Jackson [Wed, 5 Jan 2011 00:16:44 +0000 (00:16 +0000)]
Makefiles: do not run "tidy" target by default; new realclean target does both
Ian Jackson [Wed, 5 Jan 2011 00:12:50 +0000 (00:12 +0000)]
realtime: fix recently-introduced bug where wrong sense of ec is checked
Ian Jackson [Tue, 4 Jan 2011 02:33:48 +0000 (02:33 +0000)]
hostside/gui: adjustment of point positions, more
Ian Jackson [Tue, 4 Jan 2011 02:28:38 +0000 (02:28 +0000)]
gui: listen to "movpos * position" as those are in terms of abstract features, which is what we get from layout/
Ian Jackson [Tue, 4 Jan 2011 01:57:31 +0000 (01:57 +0000)]
hostside/gui: adjustment of point positions: make many "normal" positions line up with track
Ian Jackson [Tue, 4 Jan 2011 01:50:54 +0000 (01:50 +0000)]
hostside/gui: adjustment of point positions
Ian Jackson [Tue, 4 Jan 2011 01:31:31 +0000 (01:31 +0000)]
hostside/gui: allow positioning of 0 and 1 posns of point button separately, and set many settings
Ian Jackson [Tue, 4 Jan 2011 01:12:23 +0000 (01:12 +0000)]
hostside/gui: whitespace changes and emacs mode setting in gui-layout.config
Ian Jackson [Tue, 4 Jan 2011 00:36:00 +0000 (00:36 +0000)]
hostside/TODO: two bugs known fixed
Ian Jackson [Tue, 4 Jan 2011 00:35:00 +0000 (00:35 +0000)]
hostside/TODO: found a gui bug
Ian Jackson [Tue, 4 Jan 2011 00:28:31 +0000 (00:28 +0000)]
hostside/gui: include keys for C5/B7 crossover
Ian Jackson [Mon, 3 Jan 2011 23:23:41 +0000 (23:23 +0000)]
realtime: avoid needless signalling problems related to interference
When we are considering an interfering segment, we want to first see
whether the segment has anything in it and only if so consider its
position. That avoids is calling it a problem that the interfering
segment's position is not known (eg, because it has never been set).
To support this, split segment_interferes into two functions:
segment_interferer: simply returns the possibly-interfering segment
so that we can check whether it's relevant
segment_interferer_does: does the hard work, dealing appropriately
with errors
At all but the one call site of interest we can assert that the
getmovpos callback never fails, so we provide a helper function
segment_interferes_simple
which does what segment_interferes used to (except that getmovpos
returning an error now causes an abort).
Ian Jackson [Mon, 3 Jan 2011 23:23:33 +0000 (23:23 +0000)]
realtime: do not panic if we consider an unknown movposcomb - just predict a problem
Ian Jackson [Mon, 3 Jan 2011 22:21:43 +0000 (22:21 +0000)]
hostside: add bavarian to x.gdb args
Ian Jackson [Mon, 3 Jan 2011 22:17:59 +0000 (22:17 +0000)]
hostside: add bavarian to multiplex; better homes
Ian Jackson [Mon, 3 Jan 2011 22:13:52 +0000 (22:13 +0000)]
firmware: if we fire a point just before being turned off, still note that the point was fired, send 20, etc.
Ian Jackson [Mon, 3 Jan 2011 22:13:26 +0000 (22:13 +0000)]
firmware: properly document complicated combined firing/off point states
Ian Jackson [Mon, 3 Jan 2011 21:06:25 +0000 (21:06 +0000)]
Merge branch 'master' of login.chiark.greenend.org.uk:things/Trains/trains
Ian Jackson [Mon, 3 Jan 2011 21:03:52 +0000 (21:03 +0000)]
hostside/bavarian: speed measurements: combine six separate runs of measure-speeds into one
rune was: ./measure-speeds /dev/railway AX speed 4 55 1 `seq 43 126` | tee bavarian-1reverse6.speeds etc.
Ian Jackson [Mon, 3 Jan 2011 21:02:34 +0000 (21:02 +0000)]
hostside/bavarian: speed measurements: edit out a bogus measurement (having seen the train do the wrong thing)
Ian Jackson [Mon, 3 Jan 2011 21:01:42 +0000 (21:01 +0000)]
hostside/bavarian: speed measurements, backwards
Ian Jackson [Mon, 3 Jan 2011 19:58:20 +0000 (19:58 +0000)]
hostside/measure-speeds: when positioning for slow, when we have just done slow speed, look for X7 too
Ian Jackson [Mon, 3 Jan 2011 19:32:44 +0000 (19:32 +0000)]
hostside/measure-speeds: when positioning for slow, when we have just done slow speed, do not bother with forward movement towards X8 et al
Ian Jackson [Mon, 3 Jan 2011 19:23:46 +0000 (19:23 +0000)]
hostside/bavarian: Add bavarian to TRAINS
Ian Jackson [Mon, 3 Jan 2011 19:23:36 +0000 (19:23 +0000)]
hostside/measure-speeds: when positioning for slow, check for entry to X8 too
Ian Jackson [Mon, 3 Jan 2011 19:23:11 +0000 (19:23 +0000)]
hostside/analyse-speeds: decreasing speed is only a warning
Ian Jackson [Mon, 3 Jan 2011 19:22:56 +0000 (19:22 +0000)]
hostside/bavarian: remove bogus speed measurements just made
Ian Jackson [Mon, 3 Jan 2011 19:03:18 +0000 (19:03 +0000)]
hostside/measure-speeds: repeat OFF command (can help if there was nmra buffered, eg)
Ian Jackson [Mon, 3 Jan 2011 19:01:09 +0000 (19:01 +0000)]
hostside/measure-speeds: add imprecation to include args to measure-speed in commit message
Ian Jackson [Mon, 3 Jan 2011 18:52:26 +0000 (18:52 +0000)]
hostside/bavarian: start of speed measurement, started with 126, but track running-in effect means speeds are increasing. Must do again.
Ian Jackson [Mon, 3 Jan 2011 18:43:34 +0000 (18:43 +0000)]
hostside/adhoc-test: fix out of date comment in README.adhoc-test
Ian Jackson [Mon, 3 Jan 2011 18:41:39 +0000 (18:41 +0000)]
hostside: rename hostside-old to adhoc-test
Ian Jackson [Mon, 3 Jan 2011 18:36:36 +0000 (18:36 +0000)]
Merge branch 'master' of login.chiark.greenend.org.uk:things/Trains/trains
Ian Jackson [Mon, 3 Jan 2011 18:30:09 +0000 (18:30 +0000)]
hostside: stopping distance and time measurements for santafe and bavarian
Ian Jackson [Mon, 3 Jan 2011 18:29:05 +0000 (18:29 +0000)]
hostside/measure-speeds: better recovery from unhelpful initial positions
Ian Jackson [Mon, 3 Jan 2011 18:28:28 +0000 (18:28 +0000)]
hostside/measure-speeds: make fastest "slow" speed a command line option, rather than hardwiring 50
Ian Jackson [Mon, 3 Jan 2011 18:27:23 +0000 (18:27 +0000)]
hostside/measure-speeds: understand how to normalise AX loop
Ian Jackson [Mon, 3 Jan 2011 01:20:46 +0000 (01:20 +0000)]
hostside/gui-*.config: new wheel mouse
Ian Jackson [Sun, 2 Jan 2011 23:29:05 +0000 (23:29 +0000)]
hostside: santafe: real stopping distance measurements for santafe
Ian Jackson [Sun, 2 Jan 2011 23:01:37 +0000 (23:01 +0000)]
hostside/measure-speeds: set points when using track C to avoid train diving off into nowhere
Ian Jackson [Sun, 2 Jan 2011 23:01:20 +0000 (23:01 +0000)]
hostside/measure-speeds: initialise detend, settle_detend
Ian Jackson [Sun, 2 Jan 2011 22:35:19 +0000 (22:35 +0000)]
hostside/measure-speeds: stopping distance measurement on track C works
Ian Jackson [Sun, 2 Jan 2011 20:08:51 +0000 (20:08 +0000)]
hostside/measure-speeds: wip outer oval, comments only so far
Ian Jackson [Sun, 2 Jan 2011 20:03:09 +0000 (20:03 +0000)]
hostside/measure-speeds: head comment mentions stopping distance capability
Ian Jackson [Sun, 2 Jan 2011 19:21:17 +0000 (19:21 +0000)]
ours.wiring: remove now-spurious "fixed" settings for C5 and B7 (hardware is fixed)
Ian Jackson [Sun, 2 Jan 2011 19:20:18 +0000 (19:20 +0000)]
ours.wiring: corrected wiring for C5/P (hardware is now fixed)
Ian Jackson [Sun, 2 Jan 2011 14:02:54 +0000 (14:02 +0000)]
gui: reformat specification of movpos bindings (no functional change)
Ian Jackson [Sun, 2 Jan 2011 13:49:15 +0000 (13:49 +0000)]
gui, etc.: re-enable slip2 (B9) as we should now be able to support it
Ian Jackson [Sun, 2 Jan 2011 13:47:58 +0000 (13:47 +0000)]
gui: support manual adjustment of movpos button locations
Ian Jackson [Sun, 2 Jan 2011 13:30:59 +0000 (13:30 +0000)]
gui: change contents of ld_see to be list of poslocs rather than sum of their positions; no functional change but would make more sophisticated positioning algorithms a bit easier
Ian Jackson [Sun, 2 Jan 2011 13:27:39 +0000 (13:27 +0000)]
hostside/lib.tcl: new setexpr and addexpr commands
Ian Jackson [Sun, 2 Jan 2011 03:32:35 +0000 (03:32 +0000)]
gui, etc.: provide gui with sensible info about concrete vs. actual movfeat posns
Ian Jackson [Sun, 2 Jan 2011 01:44:00 +0000 (01:44 +0000)]
layout: segments B0 and C0: swap positions P0 and P1
Ian Jackson [Sun, 2 Jan 2011 01:37:11 +0000 (01:37 +0000)]
hostside/safety: correctly pass JUSTDET back to predict() inside safetymanager_safety_stop if need be (involves adding new predictflags arg to predict() et al)
Ian Jackson [Sun, 2 Jan 2011 01:36:39 +0000 (01:36 +0000)]
hostside: x.gdb updated for newer trains, simulation replay arguments
Ian Jackson [Fri, 31 Dec 2010 21:20:45 +0000 (21:20 +0000)]
hostside: better homes, inc. for shinkansen
Ian Jackson [Fri, 31 Dec 2010 20:36:42 +0000 (20:36 +0000)]
hostside: add basic hoover.cv-s
Ian Jackson [Fri, 31 Dec 2010 20:01:54 +0000 (20:01 +0000)]
gui: invert sense of mouse wheels
Ian Jackson [Fri, 31 Dec 2010 20:00:02 +0000 (20:00 +0000)]
wiring, etc.: disable B<->C crossovers as some of the points are not working
Ian Jackson [Fri, 31 Dec 2010 19:00:29 +0000 (19:00 +0000)]
ours.wiring: final fixes ?
Ian Jackson [Fri, 31 Dec 2010 18:20:46 +0000 (18:20 +0000)]
ours.wiring: fixes to point locations and polarity
Ian Jackson [Fri, 31 Dec 2010 18:12:47 +0000 (18:12 +0000)]
data2safety: detect doubly-used detections
Ian Jackson [Fri, 31 Dec 2010 18:12:27 +0000 (18:12 +0000)]
ours.wiring: correct wiring info for C10 detection
Ian Jackson [Fri, 31 Dec 2010 15:56:07 +0000 (15:56 +0000)]
gui-plan: ignore MappingNotify
Ian Jackson [Fri, 31 Dec 2010 15:55:57 +0000 (15:55 +0000)]
gui: one fewer problem report line
Ian Jackson [Fri, 31 Dec 2010 15:46:51 +0000 (15:46 +0000)]
gui: fix button padding
Ian Jackson [Fri, 31 Dec 2010 15:44:54 +0000 (15:44 +0000)]
gui: change button for sel train, forward/reverse
Ian Jackson [Fri, 31 Dec 2010 15:44:37 +0000 (15:44 +0000)]
gui: wip add padding to picture to let buttons be visible
Ian Jackson [Fri, 31 Dec 2010 15:44:03 +0000 (15:44 +0000)]
hostside/multiplex: do not crash when denied callers connect (!)
Ian Jackson [Fri, 31 Dec 2010 15:08:50 +0000 (15:08 +0000)]
gui, evdev*: new evdev-manip-ebwikeb for finding the right input devices for the Ebuyer keyboard
Ian Jackson [Fri, 31 Dec 2010 14:40:30 +0000 (14:40 +0000)]
realtime: add missing newline to info message
Ian Jackson [Fri, 31 Dec 2010 14:40:05 +0000 (14:40 +0000)]
gui-plan: properly initialise seg.owner
Ian Jackson [Fri, 31 Dec 2010 02:33:04 +0000 (02:33 +0000)]
pcb/Makefile: correct dependencies for points-pin-alloc.lout