orwell96
358bff47b2
Interlocking: Correct duplicate influence points semi-automatically
...
Searches and deletes duplicate influence points for the same signal when "Influence Point" formspec is opened.
2021-11-14 17:32:20 +01:00
orwell96
737eb4987f
LZB: Look ahead before movement, not after
2021-02-12 11:55:57 +01:00
orwell96
0a9cb548d7
Prevent calling approach callbacks during routesetting
...
interlocking.set_route() was updating the signal aspect, which caused LZB's invalidate_ahead callback to run, although the route isn't yet fully set. Don't look ahead at this point, but instead in the next train step.
2021-02-10 20:55:20 +01:00
orwell96
96bb7d5e7e
LZB: don't look ahead past red signal
2021-02-10 18:27:09 +01:00
orwell96
1b8a3dfaf2
Add save interval setting, fix accidental global variable, at_sync_ndb on server priv not limited, timetaking for restore_all
2021-02-10 16:42:15 +01:00
orwell96
8f4c90c5a5
Add debug prints, modify LZB to fix problems with look_ahead
2021-02-10 16:39:46 +01:00
orwell96
114b915518
Fix new green signals bug caused by old trav_lzbdata, and callback loop in signalling formspec
2021-02-10 16:36:24 +01:00
orwell96
61329c11a2
Start using path_invalidate_ahead()
2021-02-10 16:36:24 +01:00
orwell96
8660794ef8
Fix lots of things around new LZB
2021-02-10 16:36:24 +01:00
orwell96
b59b0d587d
Implement a LZB speed lookup table for the path and rewrite velocity controls
2021-02-10 16:35:45 +01:00
orwell96
a78ff65b31
Fix inconsistency between node enter callback and lzb approach callbacks
...
(this caused the lzb approach to be called on nodes that have just received an enter event, which is not intended)
2021-02-10 16:35:45 +01:00
ywang
2157a7ef36
Simplify formula for brake distance calculation
2019-11-27 10:37:25 +01:00
orwell96
b56cda8695
Fix remote routesetting
2019-04-16 12:59:17 +02:00
orwell96
ea33ad9de0
Move LZB system to core and unify approach callback mechanism
2019-04-16 09:16:44 +02:00