]> git.tdb.fi Git - r2c2.git/commit
Tighten safety measures
authorMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2013 19:27:22 +0000 (22:27 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2013 19:27:22 +0000 (22:27 +0300)
commit5c1ddd2f213af3fea15237e02f7da112c0abba36
tree7688570793864975856c6c1e5bddd91f34196340
parent51d3c122fb489f9e3f00060f885f00c1fae7ceb5
Tighten safety measures

Remove opportunistic freeing of blocks from behind the train and counting
of noncritical blocks from the simulated vehicle position.  Both features
are now implemented in terms of what can be ascertained from sensors.  I'm
developing infrared gates which will provide similar functionality with
actual physical (or simulated) feedback.
source/libr2c2/blockallocator.cpp
source/libr2c2/blockallocator.h
source/libr2c2/train.cpp
source/libr2c2/train.h