- When an automatically controlled train passes through a gate, the gate's sensor output appears to stay on for a fixed amount of time (weird) regardless of the length and speed of the train. This causes two effects: For short trains, the sensor output stays on too long. More problematically, for long trains, the sensor output turns off a significant amount of time before the train passes.
- When a train approaches a gate at a very slow speed, the sensor output of the gate flickers erratically. Note that when the train is under manual control, the flicker does not correspond to key presses (e.g. if you are "pumping the accelerator") -- it just seems to happen at its own independent rate.
The primary description of the issues, however, is this: What I expect to happen is that in all cases, the gate sensor read output matches the green/red light on the gate itself. What actually happens is that, for trains only, it does not.
A save file is attached. It contains three trains of different lengths, a buggy, and a constant combinator that can be turned off to stop all the trains if desired. There might be some mods in the save but none are actually used and this is intended for vanilla.
Additionally, here is a video of the issue. I apologize for its length (higher res):
Related/old bug reports:
These were both labelled "not a bug", but I believe that to be the wrong judgment, because (as mentioned above):
- The issue is unique to trains.
- The fixed length of the output signal for trains is weird (as a programmer I feel like this is a tell-tale sign that somebody hacked some code in somewhere ).
- The sensor output stops too early for long trains even when they are still in the gate.
- Most importantly (and this covers both of the above) the sensor output matches the gate's built-in status light in all cases except for moving trains. I believe this to be the strongest argument that this is a bug; most notably because the argument that "well it's the sensor not the gate" becomes weak when considering that for every other vehicle type, the sensor output matches the status light precisely. It should be consistent for all vehicles.