Changes to MP signalling and Train Control First phase now committed
#47
Posted 21 February 2014 - 06:33 AM
#48
Posted 21 February 2014 - 07:17 AM
APK-LVDZ, on 21 February 2014 - 06:33 AM, said:
I don't think your evidence backs up your claim at all. Additionally, since December I can count:
- 8 bug fixes to signalling.
- 1 big new feature.
If you have any specific bugs or issues, please report them on our Launchpad bug tracker.
#49
Posted 01 March 2014 - 04:06 PM
Idea is this:
1. OpenRails will be write in special log file all signal states (block_clear or block_occupied, block_jn_obstructed not needed)
For example:
signal_ID:155_state_block_clear;
signal_ID:953_state_block_occupied;
2. In this file will write all junction_states (main route, side route)
3. Then my program read this log file, and work with data
4. Then, if a choose to switch junction, or opening signal, my program create new file with commands for OpenRails. For example:
junction_ID:456_to_main_route;
signal_ID:155_NORMAL_to_CLEAR_2;DISTANCE_to_APPROACH_3;
5. OpenRails read this file, and without dispatcher window change this signal aspects and route directions.
6. If file are readed and all is applyed, file will be deleted. For good working of hard disk, this files can be created by one for 5 seconds with all commands.
Very big supplication, help me! All problem are with my program and Your OpenRails communication. The Pascal language is very old language, but others I do not know. But this will resolve all problem with other countries signals, and helps to make the own dispatcher window. If my window will sets all aspects, then signall will be worked as it is necessary. This all are for multiplayer mode! Thank You!
#50
Posted 02 March 2014 - 12:50 AM
In case the problem is that is doesn't work well enough for you: What is exactly the problem with it? I think it would be better to support your working method in OpenRails officially.
#51
Posted 02 March 2014 - 05:31 AM
1. Signal does not work in multiplayer mode a very long time
2. There are different notion for using STOP and STOP_AND_PROCEED states
3. We try using the dispatcher windows for 15 peoples, and have found: for dispatcher no time to make the route, because line are very long, and dispatcher can't see what's happening in other location
4. You have already a lot of work, and we want to make themselves
We agree for one specialized version for this dispatcher windows. Will look like this:
http://www.imghost.in/img/2014-03/02/enrdi7xqm9exaezg80rjsiyq3.jpg
Easier to work!
#52
Posted 02 March 2014 - 02:56 PM
In my opinion, the current dispatcher window has only one big problem: you can't set the exact aspect of a signal, just stop, proceed, approach. For example there are 3 approach aspects, and it is really odd, to give a 120km/h sign into a 40km/h switch.
#53
Posted 02 March 2014 - 03:12 PM
A Tejesember, on 02 March 2014 - 02:56 PM, said:
There isn't a single signalling system in the world where the operator can select the aspect of the signal which is cleared.
In fact, many systems don't even show the aspect - just if the signal is clear or not. The aspect shown to the driver is determined by the system based on route-selection, next signals etc.
The only exception is that some systems allow a 'restricted' clearing action, e.g. on occupied track ("calling-on" signals).
Many modern systems, by the way, don't even operate signals and points directly - they are completely route-based.
A much more serious problem with the dispatcher window is that it does not actually clear the signal - it just sets the aspect, neither checking nor protecting the cleared route. This is as if the signalman leaves the control-panel and just hangs a green lamp on the signal.
As for the required interface : what is needed is to use the same information and messages as the dispatcher window. The best way would be to use the present dispatcher-window code and rewrite it to output or collect form input rather than to display or collect from operator actions.
I agree with the above, though, that the suggested interface is not very efficient. If you do need to use textfiles then at least reduce the text to the bare minimum, e.g. S123S : signal 123 at Stop, P124M : point 124 to Main etc.
Regards,
Rob Roeterdink
#54
Posted 02 March 2014 - 03:54 PM
roeter, on 02 March 2014 - 03:12 PM, said:
In fact, many systems don't even show the aspect - just if the signal is clear or not. The aspect shown to the driver is determined by the system based on route-selection, next signals etc.
The only exception is that some systems allow a 'restricted' clearing action, e.g. on occupied track ("calling-on" signals).
Many modern systems, by the way, don't even operate signals and points directly - they are completely route-based.
This is true, but in OR, it just doesn't want to work. If I select approach from the list, it gives Approach_1, no matter what. I don't know how hard it would be to make it work like it does with paths in activities, so I propose adding all the aspects to the list as a temporary solution. I agree that the desired functionality would be clear, not clear, calling; but the current state is between the two ends. Not manual nor auto, which is not really usable in my opinion.
#55
Posted 02 March 2014 - 04:36 PM
#56
Posted 02 March 2014 - 11:21 PM
I don't know if I understand your problem with STOP and STOP_AND_PROCEED signal aspects correctly. Is it that you want to display a different aspect on locomotive than it is shown by route? (So you want to display STOP_AND_PROCEED on locomotive, while route shows STOP?) This is already possible by using a train control system script.
#57
Posted 03 March 2014 - 06:16 AM
#58
Posted 03 March 2014 - 06:29 AM
Follows task:
1. Delete all script work from OR (or not monitoring if use dispatcher control), leave only block_state ==# block_clear or block_occupied functions
2. My file "command.txt" is a command from dispatcher window. For first, my first command is "get full situation". OR create new file "changes.txt", in this are all signal and all junction states with numbers. Junctions: "j255-main"(255-number from track base). Then OR delete the file command.txt.
3. My program read changes.txt, draw all, and delete file changes.txt.
4. One for 5 second OR and my program find the files changes.txt and command.txt
5. If in OR any signal get a new state (block_occupied -> block_clear (no control for junctions)), then OR make file changes.txt and write "s764-clear (occupied)". (s-signal, 764 - number, clear - state from function "block_state")
6. My program read this file (one find for 5 seconds), draw all, then delete file changes.txt
7. Then my program calculate new signal states, because new block are occupied, or some junctions has a changes, and create file command.txt with command:
s764-N2,D0 (s764 - signal ID 764, N-normal type, D-distance type, numbers after types - signal states (0-stop, 1-stop_and_proceed, 2-restricting, 3-approach_1, 4-...))
s765-N4,D5
8. OR change states for this signal (file find one for 5 seconds), and delete file commands.txt
9. IF I choose exit in my program, then will create file command.txt with text "end". After this moment OR will not create new file until in file command.txt will be "get full situation" (from start point)
#59
Posted 16 December 2014 - 05:09 PM
http://www.imghost.in/thumbs/2014-12/07/tqdxjrzxfsbwmkb1xa6r359ty.jpg