]> git.tdb.fi Git - r2c2.git/commit
Do not allocate blocks while halt is in effect
authorMikko Rasa <tdb@tdb.fi>
Wed, 11 Feb 2015 12:06:39 +0000 (14:06 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 11 Feb 2015 12:06:39 +0000 (14:06 +0200)
commit1c1f8e0c2ce41bc6f943b450a510cc6bac7ef2e4
tree60b2d616c863ba6280232f641c95857aba29b736
parent771e1724b44afb85cf673e85ef0f2e02ebb30344
Do not allocate blocks while halt is in effect

A turnout state change signal is emitted even if a failure is detected,
to indicate the end of the operation.  Resuming allocation in such a case
would cause the train to stray to an incorrect path.  It's better to wait
until the user has resolved the situation and removed the halt state.
source/libr2c2/blockallocator.cpp
source/libr2c2/blockallocator.h