DetectorAssembler: go to ERROR if trying to match without geometry
Compare changes
+ 0
− 1
#48 (closed) this came up again recently, let's do something about it.
calngUtils
Options:
INIT
until we get geometryERROR
after some timeout if we don't get geometryERROR
in match handler if we don't have geometry by the time we need it (current implementation)As the diff shows, at least for option 3, we need to fight the TrainMatcher
state logic a bit; it's going from PASSIVE
to CHANGING
to ACTIVE
outside of the methods we're currently overriding.
State transitions for an assembler started while geometry device is down and then geometry device comes up later: