Commit Graph

124 Commits

Author SHA1 Message Date
Stephan Richter
5e50259d24 Implementierung des neuen Routen-Algorithmus weitgehend abgeschlossen.
Was noch fehlt ist der Brems-Prozessor; außerdem muss der neue Code getestet werden.
2021-03-17 23:58:38 +01:00
Stephan Richter
c62f75fa02 Code zum Reservieren der nächsten Route überarbeitet.
*Könnte* jetzt funktionieren, hatte jedoch keine Zeit zum Testen.
2021-03-16 22:28:29 +01:00
Stephan Richter
030b29499f dunno what to write, this is a non-clean state... 2021-03-16 21:39:34 +01:00
Stephan Richter
fd254db358 minor bugfix. next step: implementing the preserveNextRoute action.
Must work in the following conditions:
- called from route.setupActions
- called from route.startActions
- called from route.contactActions
- called from autopilot after reaching route.endBlock
2021-03-14 20:07:36 +01:00
Stephan Richter
9c86955d8d - implemented load callback
- added waitTime field to context, wait time now determined in route.start
2021-03-14 19:12:17 +01:00
Stephan Richter
2647b4c43d Started clean re-implementation of
- reserving route
- preparing route
- locking route

New implementation now properly handles stop event from user.

Next things to implement:

- tracing train upon contact activation, taking care of:
    - causing contact
    - train's last position
    - route
    - plan.freeBehindTrain
- finish event, keeping brake processor in mind
2021-03-13 20:15:51 +01:00
Stephan Richter
9effb8d337 re-implemented basic autopilot 2021-03-12 16:55:52 +01:00
Stephan Richter
6bf7882f3b improved error messages 2021-03-12 16:04:08 +01:00
Stephan Richter
c6aa5e45da working on new autopilot code 2021-03-12 12:49:19 +01:00
Stephan Richter
830c1863ad started re-implementing route reservation 2021-03-12 12:49:19 +01:00
Stephan Richter
c549f7364d moved Thrads to separate package 2021-03-12 12:49:19 +01:00
Stephan Richter
103dd89168 improved gui 2021-02-28 13:59:54 +01:00
Stephan Richter
b951b948e5 updated thread handling:
- threads are no longer pooled (this makes naming threads difficult)
- threads are now named by their causing event, which improves logging

updated calls to thread.sleep: those are now provided by new class Delayed Execution
2021-02-28 13:03:21 +01:00
Stephan Richter
cabab80b5c added opßtion to simplify all route names in one step 2021-02-23 00:57:04 +01:00
Stephan Richter
54961c1f14 various minor improvements 2021-02-19 19:54:44 +01:00
Stephan Richter
c3242cddcb vroious improvements 2021-02-12 18:04:28 +01:00
Stephan Richter
2973bd1432 optimised brake code 2021-02-11 19:40:35 +01:00
Stephan Richter
853ae2a0c1 code optimization 2021-02-11 16:30:34 +01:00
Stephan Richter
b41ae2b314 new feature on clicking tiles: actions of tile now skipped, when shift is pressed during click 2021-02-10 18:59:31 +01:00
Stephan Richter
3cd6df931d bugfixes 2021-02-06 20:30:33 +01:00
Stephan Richter
8f52c79798 implemented manual coupling/decoupling of trains 2021-01-17 18:28:11 +01:00
Stephan Richter
e00e6f8124 added CoupleTrain action,
improved Destination functions,
fixed bug in AddRemoveTag,
improved CarOrientation functions
2021-01-16 19:33:59 +01:00
Stephan Richter
0e6069a5a1 implemented AddDestination action and evaluation of destination tags of trains. 2021-01-16 04:05:06 +01:00
Stephan Richter
bf234e19bb EngageDecoupler now using new assignment function 2021-01-16 01:24:45 +01:00
Stephan Richter
fc95444fd8 WaitForContact now using new assignment function 2021-01-16 01:20:19 +01:00
Stephan Richter
bac9892fd0 implemented splitting of trains and parking in blocks 2021-01-15 18:15:56 +01:00
Stephan Richter
22dfd0512a implemented shunting trains 2021-01-15 18:15:14 +01:00
Stephan Richter
494eeddf59 improved translations 2021-01-15 14:23:49 +01:00
Stephan Richter
14b7a69d03 added new action DisableEnableBlock 2021-01-15 13:41:32 +01:00
Stephan Richter
c825268b5f added WaitForContact action 2021-01-15 10:50:44 +01:00
Stephan Richter
703820b38f bugfixes 2021-01-15 10:50:08 +01:00
Stephan Richter
0902017bba added decouple and EngageDecoupler action 2021-01-15 10:48:32 +01:00
Stephan Richter
323a48dcd6 extended TurnTrain action into AlterDirection action 2021-01-15 10:43:03 +01:00
Stephan Richter
90851e2bd6 implemented renaming of plan and opening of other plans 2021-01-05 01:15:00 +01:00
Stephan Richter
a74070ea80 overhauled brake time processor 2021-01-02 17:58:21 +01:00
Stephan Richter
d3c3051605 implemented small delay between setting signal to go and start of train. various GUI improvements 2021-01-02 13:56:17 +01:00
Stephan Richter
e50bc039cd implemented signal functions 2020-12-31 19:07:24 +01:00
Stephan Richter
3e3dfccdea added new action AddRemoveTag 2020-12-30 21:05:30 +01:00
Stephan Richter
cfe1b90962 GUI improvements, bugfixes 2020-12-30 00:36:12 +01:00
Stephan Richter
0dda9f16e0 threads now pooled 2020-12-29 19:32:28 +01:00
Stephan Richter
312fcc900b added AndCondition 2020-12-24 15:05:34 +01:00
Stephan Richter
f3fcdb6a0e added new action ReactivateContact 2020-12-21 11:06:42 +01:00
Stephan Richter
6d9a4d9120 bugfixes, added debug output 2020-12-18 14:12:22 +01:00
Stephan Richter
604b9559c4 bugfix 2020-12-11 02:10:16 +01:00
Stephan Richter
9810b453cb more GUI improvements 2020-12-11 01:53:18 +01:00
Stephan Richter
1e2edabcb1 setting turnouts for route now handeled by the setup actions 2020-12-10 23:38:30 +01:00
Stephan Richter
49185e79a2 minor improvements 2020-12-10 20:18:31 +01:00
Stephan Richter
0855a943eb added two new conditions: CarInTrain and CarOrientation 2020-12-10 11:30:33 +01:00
Stephan Richter
68f08f012f implemented new function, that switches decoder functions 2020-12-10 02:23:10 +01:00
Stephan Richter
ab635b213a * added new Loop action
* added TrainSpeed condition
* improved gui
2020-12-07 01:20:25 +01:00