chiark / gitweb /
trains.git
15 years agoProperly deal with MARGIN_SPEED
ian [Sat, 26 Jul 2008 23:07:57 +0000 (23:07 +0000)]
Properly deal with MARGIN_SPEED

15 years agoadjust (maximise) maxinto when we accelerate (untested)
ian [Sat, 26 Jul 2008 22:59:22 +0000 (22:59 +0000)]
adjust (maximise) maxinto when we accelerate (untested)

15 years agoFix pretty much wholly buggy speed change logic
ian [Sat, 26 Jul 2008 16:36:28 +0000 (16:36 +0000)]
Fix pretty much wholly buggy speed change logic

15 years agonew macros MIN MAX ENSURE
ian [Sat, 26 Jul 2008 16:35:58 +0000 (16:35 +0000)]
new macros MIN MAX ENSURE

15 years agodeclare ouprintfs __attribute__((format...))
ian [Sat, 26 Jul 2008 16:30:42 +0000 (16:30 +0000)]
declare ouprintfs __attribute__((format...))

15 years agoNicer interface between safety and speedmanager
ian [Sat, 26 Jul 2008 15:41:00 +0000 (15:41 +0000)]
Nicer interface between safety and speedmanager

15 years agoChange default for predit to PREDF_NEWPLAN -
ian [Sat, 26 Jul 2008 15:06:58 +0000 (15:06 +0000)]
Change default for predit to PREDF_NEWPLAN -
part 2, remove PREDF_NEWPLAN entirely

15 years agoChange default for predit to PREDF_NEWPLAN -
ian [Sat, 26 Jul 2008 15:05:44 +0000 (15:05 +0000)]
Change default for predit to PREDF_NEWPLAN -
part 1, change PREDF_ values and add PREDF_OLDPLAN

15 years agotodo list items changed
ian [Sun, 20 Jul 2008 22:50:05 +0000 (22:50 +0000)]
todo list items changed

15 years agotodo list items changed
ian [Sun, 20 Jul 2008 22:49:28 +0000 (22:49 +0000)]
todo list items changed

15 years agoset direction from main keyboard too
ian [Sun, 20 Jul 2008 18:03:44 +0000 (18:03 +0000)]
set direction from main keyboard too

15 years agocan go backwards
ian [Sun, 20 Jul 2008 17:59:42 +0000 (17:59 +0000)]
can go backwards

15 years agomore backwardsness bugfix
ian [Sun, 20 Jul 2008 17:46:05 +0000 (17:46 +0000)]
more backwardsness bugfix

15 years agoget directions right (for the benefit of setdirection)
ian [Sun, 20 Jul 2008 17:37:18 +0000 (17:37 +0000)]
get directions right (for the benefit of setdirection)

15 years agoproduce debugging output when debugging with gdb
ian [Sun, 20 Jul 2008 17:36:56 +0000 (17:36 +0000)]
produce debugging output when debugging with gdb

15 years agotrain direction command swap arguments
ian [Sun, 20 Jul 2008 17:14:43 +0000 (17:14 +0000)]
train direction command swap arguments

15 years agoclear out old trains from saved replay
ian [Sun, 20 Jul 2008 17:14:32 +0000 (17:14 +0000)]
clear out old trains from saved replay

15 years agostub direction setter
ian [Sun, 20 Jul 2008 16:38:59 +0000 (16:38 +0000)]
stub direction setter

15 years agospeedw improvements
ian [Sun, 20 Jul 2008 16:38:03 +0000 (16:38 +0000)]
speedw improvements
 - static keyboard bindings available
 - inhibition rationalised
 - some useful restructuring

15 years agofix grammar in a comment
ian [Sun, 20 Jul 2008 15:17:25 +0000 (15:17 +0000)]
fix grammar in a comment

15 years agoallow multiplex testmode to work again
ian [Fri, 18 Jul 2008 18:17:30 +0000 (18:17 +0000)]
allow multiplex testmode to work again
with this rune:
 ./multiplex --testmode=1 --dev_railway=/dev/null

15 years agoreport train's new position after prediction succeeds
ian [Wed, 16 Jul 2008 20:54:44 +0000 (20:54 +0000)]
report train's new position after prediction succeeds

15 years agodirection command
ian [Wed, 16 Jul 2008 20:51:49 +0000 (20:51 +0000)]
direction command

15 years agouse -MMD
ian [Wed, 16 Jul 2008 20:43:10 +0000 (20:43 +0000)]
use -MMD

15 years agosafety_setdirection compiles but untested
ian [Wed, 16 Jul 2008 20:37:14 +0000 (20:37 +0000)]
safety_setdirection compiles but untested

15 years agoMUSTECR is not just for ps_...
ian [Wed, 16 Jul 2008 17:38:44 +0000 (17:38 +0000)]
MUSTECR is not just for ps_...

15 years agowip obc buffering transparency debugging
ian [Tue, 15 Jul 2008 22:40:01 +0000 (22:40 +0000)]
wip obc buffering transparency debugging
testing with
-bessar:hostside> ./realtime -v2 shinkansen.speeds.record santafe.speeds.record homes.record

15 years agonote that detection suppressed by README.commands
ian [Tue, 15 Jul 2008 20:38:30 +0000 (20:38 +0000)]
note that detection suppressed by README.commands

15 years agodocument detect-flap
ian [Tue, 15 Jul 2008 20:37:56 +0000 (20:37 +0000)]
document detect-flap

15 years agocoalesce flapping detection
ian [Tue, 15 Jul 2008 20:34:42 +0000 (20:34 +0000)]
coalesce flapping detection

15 years agopublish total amount buffered in an obc
ian [Tue, 15 Jul 2008 20:18:57 +0000 (20:18 +0000)]
publish total amount buffered in an obc

15 years agonew OutBufferChain->empty feature
ian [Tue, 15 Jul 2008 20:17:07 +0000 (20:17 +0000)]
new OutBufferChain->empty feature

15 years agoallow stastate to override picion on even if they come in different order (eg due...
ian [Tue, 15 Jul 2008 00:27:41 +0000 (00:27 +0000)]
allow stastate to override picion on even if they come in different order (eg due to replay)

15 years agoinvoke gui through xterm so we get to see errors
ian [Mon, 14 Jul 2008 23:50:11 +0000 (23:50 +0000)]
invoke gui through xterm so we get to see errors

15 years agoturn lputs off by default
ian [Mon, 14 Jul 2008 23:26:18 +0000 (23:26 +0000)]
turn lputs off by default

15 years agorun things on bessar
ian [Mon, 14 Jul 2008 23:06:39 +0000 (23:06 +0000)]
run things on bessar

15 years agoget suppression of pings to lputs right
ian [Mon, 14 Jul 2008 22:19:33 +0000 (22:19 +0000)]
get suppression of pings to lputs right

15 years agorevert suppression of general ping since it's pointless unless we supress the timesta...
ian [Mon, 14 Jul 2008 22:17:27 +0000 (22:17 +0000)]
revert suppression of general ping since it's pointless unless we supress the timestamps too

15 years agofix trivial bug in suppression of general pings
ian [Mon, 14 Jul 2008 22:14:05 +0000 (22:14 +0000)]
fix trivial bug in suppression of general pings

15 years agosuppress output of general pings to simulation log
ian [Mon, 14 Jul 2008 22:08:31 +0000 (22:08 +0000)]
suppress output of general pings to simulation log

15 years agoremove segments with unknown movpos from resfin_done set so they don't end up owned...
ian [Mon, 14 Jul 2008 21:55:00 +0000 (21:55 +0000)]
remove segments with unknown movpos from resfin_done set so they don't end up owned by trains

15 years agominor debugging improvements
ian [Mon, 14 Jul 2008 21:43:00 +0000 (21:43 +0000)]
minor debugging improvements

15 years agomark[0123] are supposed to be 1 bit each
ian [Mon, 14 Jul 2008 21:42:48 +0000 (21:42 +0000)]
mark[0123] are supposed to be 1 bit each

15 years agoget globals right for permanently open serchan
ian [Mon, 14 Jul 2008 21:19:38 +0000 (21:19 +0000)]
get globals right for permanently open serchan

15 years agokeep serchan open to defeat stupid kernel bug (EIO when opening a tty someone else...
ian [Mon, 14 Jul 2008 21:16:54 +0000 (21:16 +0000)]
keep serchan open to defeat stupid kernel bug (EIO when opening a tty someone else is closing

15 years agodo not log await-off ping/pong
ian [Mon, 14 Jul 2008 21:07:12 +0000 (21:07 +0000)]
do not log await-off ping/pong

15 years agodo not lputs pings
ian [Mon, 14 Jul 2008 21:04:36 +0000 (21:04 +0000)]
do not lputs pings

15 years agouse POSIX flags not r+ to open railway
ian [Mon, 14 Jul 2008 20:49:16 +0000 (20:49 +0000)]
use POSIX flags not r+ to open railway

15 years agotreat low startup states as power off
ian [Mon, 14 Jul 2008 20:39:34 +0000 (20:39 +0000)]
treat low startup states as power off

15 years agocan show unbound; sel train key on ebwikeb
ian [Mon, 14 Jul 2008 20:24:59 +0000 (20:24 +0000)]
can show unbound; sel train key on ebwikeb

15 years agoselect train with left button
ian [Mon, 14 Jul 2008 20:16:28 +0000 (20:16 +0000)]
select train with left button

15 years agofullscreen on bessar
ian [Mon, 14 Jul 2008 19:57:54 +0000 (19:57 +0000)]
fullscreen on bessar

15 years agofix it to work with empty config file
ian [Sun, 13 Jul 2008 23:54:16 +0000 (23:54 +0000)]
fix it to work with empty config file

15 years agobessar gui seems ok now with mouse and keyboard
ian [Sun, 13 Jul 2008 23:36:15 +0000 (23:36 +0000)]
bessar gui seems ok now with mouse and keyboard

15 years agomake multiplex not crash if !realtime auto and already running
ian [Sun, 13 Jul 2008 23:35:49 +0000 (23:35 +0000)]
make multiplex not crash if  !realtime auto  and already running

15 years agoinitial ebuyer kbd code
ian [Sun, 13 Jul 2008 23:09:14 +0000 (23:09 +0000)]
initial ebuyer kbd code

15 years agouse --redact rather than --dump
ian [Sun, 13 Jul 2008 22:31:43 +0000 (22:31 +0000)]
use --redact rather than --dump

15 years agosome signalling todos discovered
ian [Sun, 13 Jul 2008 22:31:06 +0000 (22:31 +0000)]
some signalling todos discovered

15 years agobetter bind-input command construction
ian [Sun, 13 Jul 2008 21:51:42 +0000 (21:51 +0000)]
better bind-input command construction

15 years agodecouple input-binding from speedw
ian [Sun, 13 Jul 2008 21:45:34 +0000 (21:45 +0000)]
decouple input-binding from speedw

15 years agowip bessar gui bindings
ian [Sun, 13 Jul 2008 20:53:43 +0000 (20:53 +0000)]
wip bessar gui bindings

15 years agodo not go wrong on !realtime stop
ian [Sun, 13 Jul 2008 20:53:22 +0000 (20:53 +0000)]
do not go wrong on !realtime stop

15 years agoparse different config file on each host
ian [Sun, 13 Jul 2008 20:52:59 +0000 (20:52 +0000)]
parse different config file on each host

15 years agoidentifiers here have - not _
ian [Sun, 13 Jul 2008 19:24:44 +0000 (19:24 +0000)]
identifiers here have - not _

15 years agoget line number right in error msgs
ian [Sun, 13 Jul 2008 19:24:32 +0000 (19:24 +0000)]
get line number right in error msgs

15 years agosupport lookup by feature address too; specify feature commands
ian [Sun, 13 Jul 2008 18:59:48 +0000 (18:59 +0000)]
support lookup by feature address too; specify feature commands

15 years agowip features command
ian [Sat, 5 Jul 2008 13:38:29 +0000 (13:38 +0000)]
wip features command

15 years agoparses and transmits features; compiled but not tested (including suppressed features...
ian [Mon, 30 Jun 2008 12:23:06 +0000 (12:23 +0000)]
parses and transmits features; compiled but not tested (including suppressed features like half speed)

15 years agoGive relaxed xmissions of urgent messages >=50% share
ian [Thu, 26 Jun 2008 16:19:52 +0000 (16:19 +0000)]
Give relaxed xmissions of urgent messages >=50% share

15 years agofeatures are named rather than lettered; define the features
ian [Thu, 26 Jun 2008 15:52:14 +0000 (15:52 +0000)]
features are named rather than lettered; define the features

15 years agoRevert aborting feature changes as planned
ian [Tue, 24 Jun 2008 21:35:21 +0000 (21:35 +0000)]
Revert aborting feature changes as planned

15 years agoAbortive change to feature arrangements.
ian [Tue, 24 Jun 2008 21:34:45 +0000 (21:34 +0000)]
Abortive change to feature arrangements.

Was going to
  - change features to be named rather than lettered
  - make realtime not deal with the names at all

But this is actually tedious.  Instead if we need another level of
indirection for the UI we'll add one then.

So commit this now and immediately revert it.

15 years agofix comment for new speeds.record
ian [Tue, 24 Jun 2008 20:15:03 +0000 (20:15 +0000)]
fix comment for new speeds.record

15 years agonew eventrun machinery for bessar
ian [Mon, 16 Jun 2008 02:15:48 +0000 (02:15 +0000)]
new eventrun machinery for bessar

15 years agowip adapting to evdev-manip
ian [Mon, 16 Jun 2008 01:30:53 +0000 (01:30 +0000)]
wip adapting to evdev-manip

15 years agosanitise "opened"
ian [Mon, 16 Jun 2008 01:24:42 +0000 (01:24 +0000)]
sanitise "opened"

15 years agofound in bessar:/etc (davenant:~/things/Bessar/...)
ian [Mon, 16 Jun 2008 01:24:27 +0000 (01:24 +0000)]
found in bessar:/etc (davenant:~/things/Bessar/...)

15 years agoredaction works and documented; script for running on bessar to get everything only...
ian [Mon, 16 Jun 2008 01:19:13 +0000 (01:19 +0000)]
redaction works and documented; script for running on bessar to get everything only once

15 years agoseparate page and code
ian [Mon, 16 Jun 2008 00:31:29 +0000 (00:31 +0000)]
separate page and code

15 years agoget rid of old hiddev-test
ian [Mon, 16 Jun 2008 00:16:32 +0000 (00:16 +0000)]
get rid of old hiddev-test

15 years agoincorporated hiddev stuff and new redact mode into evdev-manip
ian [Mon, 16 Jun 2008 00:16:00 +0000 (00:16 +0000)]
incorporated hiddev stuff and new redact mode into evdev-manip

15 years agohiddev-test usage message
ian [Sun, 15 Jun 2008 21:04:19 +0000 (21:04 +0000)]
hiddev-test usage message

15 years agoextract application info
ian [Sun, 15 Jun 2008 20:03:06 +0000 (20:03 +0000)]
extract application info

15 years agoNew "client" target
ian [Sun, 15 Jun 2008 11:44:12 +0000 (11:44 +0000)]
New "client" target

15 years agoTidy up the Makefile and get rid of some obsolete stuff
ian [Sun, 15 Jun 2008 11:35:58 +0000 (11:35 +0000)]
Tidy up the Makefile and get rid of some obsolete stuff

15 years agoNew $(ocmp) like $o but compares to avoid too much remaking
ian [Sun, 15 Jun 2008 11:35:42 +0000 (11:35 +0000)]
New $(ocmp) like $o but compares to avoid too much remaking

15 years agonew hiddev-test program wip for keyboard leftover keys in vendor page(s)
ian [Sat, 14 Jun 2008 22:50:28 +0000 (22:50 +0000)]
new hiddev-test program wip for keyboard leftover keys in vendor page(s)

15 years agobetter usage comment
ian [Sat, 14 Jun 2008 21:23:52 +0000 (21:23 +0000)]
better usage comment

15 years agoshow all resolution messages in log
ian [Sat, 14 Jun 2008 20:37:54 +0000 (20:37 +0000)]
show all resolution messages in log

15 years agoadd +dump.* to .cvsignore
ian [Sat, 14 Jun 2008 20:37:33 +0000 (20:37 +0000)]
add +dump.* to .cvsignore

15 years agoprefix recursive make commands with +
ian [Tue, 10 Jun 2008 01:47:13 +0000 (01:47 +0000)]
prefix recursive make commands with +

15 years agodo not clear det_expected in segments belonging to other trains
ian [Mon, 9 Jun 2008 00:35:41 +0000 (00:35 +0000)]
do not clear det_expected in segments belonging to other trains

15 years agoeventcounter for help with debugging
ian [Mon, 9 Jun 2008 00:26:55 +0000 (00:26 +0000)]
eventcounter for help with debugging

15 years agoadd fake santafe stopping data so we can play with it too
ian [Mon, 9 Jun 2008 00:04:42 +0000 (00:04 +0000)]
add fake santafe stopping data so we can play with it too

15 years agodo not ping immediately after crash
ian [Sun, 8 Jun 2008 23:21:31 +0000 (23:21 +0000)]
do not ping immediately after crash

15 years agoproblem report segment may be 0
ian [Sun, 8 Jun 2008 22:50:38 +0000 (22:50 +0000)]
problem report segment may be 0

15 years agouse movpos+; more logs
ian [Sun, 8 Jun 2008 22:49:10 +0000 (22:49 +0000)]
use movpos+; more logs

15 years agosay nak not nack
ian [Sun, 8 Jun 2008 21:54:46 +0000 (21:54 +0000)]
say nak not nack

15 years agoset movposcomb=-1 earlier so we actually move things
ian [Sun, 8 Jun 2008 20:18:31 +0000 (20:18 +0000)]
set movposcomb=-1 earlier so we actually move things

15 years agores_movposset needed because we can restart the resolution, losing track of what...
ian [Sun, 8 Jun 2008 20:10:23 +0000 (20:10 +0000)]
res_movposset needed because we can restart the resolution, losing track of what we have set