Replies: 20 comments 110 replies
-
This error means that the train sees a different color than it is expecting. I see you have set your sensor colors tto red and blue colors, does that reflect the real colors of the markers or are you still using orange markers? If you set all marker colors to "None" the real color shouldn't matter and hopefully the issue should go away? |
Beta Was this translation helpful? Give feedback.
-
I just tested this same situation, and I currently can't reproduce the issue, even with the same color configuration as you. Can you check that after the train arrives in C that it never actually reaches the red marker with its sensor? It is supposed to change direction without reaching the red marker, and thus the next marker it expects is the blue marker again. You may need to make your block bigger or add the prior sensor more distant to the block, so the train is slower when it arrives at the blue marker, and doesn't overshoot until the red marker. |
Beta Was this translation helpful? Give feedback.
-
Looking closely at your screenshot it looks like there are two sensor on top of each other? It seems like there is a red and a blue marker on the same spot. Did you edit the marker color in the image? Or there might be a bug with setting up markers. In that case, you might be able to fix it by deleting the block and the tracks and setting up that part of the layout again. Select elements and press delete on the keybard to remove them. removing blocks only works if there is no train inside, in edit mode you can right click drag the train to a different block to teleport it. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
OK... so something weird has happened... for about 5 consecutive times yesterday the reversing issue happened. Any Ideas? |
Beta Was this translation helpful? Give feedback.
-
I have decided to start from Scratch. |
Beta Was this translation helpful? Give feedback.
-
For the issue with reversing after issues with prior: It seems to be an annoying bug because it can't be replicated consistently, but could you try to give me a step-by-step (also with pictures/screenshots of what orientations the trains are, physical and virtual) of how it leads to the reversing bug? Please also send me the layout file for a layout that had the issue. A video would help a lot as well. I think the reversing itself is probably quite easy to fix, I will have to have absolute direction instructions instead of just relative "flip heading" as I do now. They seem to get desynced when unexpected stops happen. But what is more difficult for me is understanding why the issue with a prior (stopping train with marker error) happens in the first place. Like I said before, I unfortunately never really tested a real layout with reversing trains (always had "only forward" enabled, so disabling "only forward" currently should be considered experimental. Your tests however help a lot, since I currently can't setup a layout. |
Beta Was this translation helpful? Give feedback.
-
Ok, it was going really well then, the app crashed while on a Random run with 2 trains... the Green train was going from top left block to top right and physically it got there, but on the app it got to the same switch that aused an issue last time (top left) then the system crashed and the screen closed. I have attached the terminal output txt |
Beta Was this translation helpful? Give feedback.
-
I've had a few reversing issues with the Switch version, so am going to redo the layout and re add the hubs. |
Beta Was this translation helpful? Give feedback.
-
I might have a theory what might be going wrong when you have the reversing bug, partly, at least. Internally, every train has a "facing" value which is 1 if the train is going forwards, and -1 if it is going backwards. A train that has the facing value 1 has the black marker and the Arrow on the same side, like this: A train that has the facing value -1 has the black marker and Arrow on opposite sides, like this: Normally, when making a train go from block to block, at the end, the train always wants to end up with a facing value of 1. This is why, after reversing into a block, it will at the end slowly go forwards again to be at the correct "side" of the marker. However, internally Brickrail also can keep track of stationary trains with facing value of -1, but I made the decision not to make this really obvious to the user. My theory is that, once you have a "marker error", the trains can end up stationary with a facing value of -1. However, for facing value -1, the correct position of the train is such that the sensor is on the opposite side of the marker, which is opposite of what I described in the wiki. So, when you have for some reason ended up in a state where the train ends up with facing -1, the train does behave a bit differently than what you are used to (because it will try to stay with facing -1). And because you might adjust the train positions as described in the wiki, the trains are not in the correct position for facing -1, leading to further marker errors. I did observe that trains can be stuck in facing -1 when a error stops the trains. However, it is not yet clear how your layout produces the initial marker error in the first place. So I think for now I will try to make sure that trains will never be stuck with facing -1, and users should always expect the train positions to be as described in the wiki. Also, for you to test, there is a "hidden" feature to switch the facing value of a train. While dragging a train (with right click) you can left click to flip the facing value. This works both in edit as well as run trains mode. So technically, if a marker error happens and you observe that your train has facing -1 (as seen in the second screenshot above), you can use this in edit mode to switch the train facing to +1 again. |
Beta Was this translation helpful? Give feedback.
-
Marker error. |
Beta Was this translation helpful? Give feedback.
-
Zipped the layout .brl file. |
Beta Was this translation helpful? Give feedback.
-
Well, my friend, (if I may) I have had several sessions today and all were successful. I have added track plates on the outside so I can see where the first sensor is. So, if during some reversing I see that a train has stopped on the wrong side then I do the secret switcheroo trick and it then relocates to the correct side of the sensor.... which is very cool. So, what's next boss...lol |
Beta Was this translation helpful? Give feedback.
-
OMG.. the home function is sooo great. Same as the Reversing setting.
(I revisited and realised that in Edit mode you can tell a train to go home and it just appears Home. So you can do that when you start up. The reversing option was great too, I set it to Discouraged and the train took the long way from bottom right to top right and when it was set to Allowed it reversed to it... perfect. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this was the correct discussion. Second time there was an impasse on Random, so nothing moved, I've not seen it before. So I selected Stop routes, but some seemed to still move so I hit Emergency stop. One train was going backwards, it didn't recover and got stuck in reverse. |
Beta Was this translation helpful? Give feedback.
-
Sorry to hit you up for more errors.... all related to the above. |
Beta Was this translation helpful? Give feedback.
-
Can you explain why I get this crash.. because I haven't changed the track to specifically for BrickRail the sensors kind of need to be where they are to use this siding. Normally the train goes in front first with no issues and stops just after the Blue Block Sensor. Warning no mini figs were damaged in this crash !! PS.. I haven't opened the logs before, is it easy to see what has happened? |
Beta Was this translation helpful? Give feedback.
-
Hi, did you get to do any reverse testing and random reverse running on your layout at your parents? |
Beta Was this translation helpful? Give feedback.
-
There seems to be a bug when a train reverses in Random mode or non One-way mode.
Train is asked to go from A to B via C
Train starts at A and moves along 1 - 2 & 3 to C
Train reverses and then stops at red arrow, between the red and blue physical sensor and gives the Red Error.
It does not proceed to B.
I have tried with separate Prior sensors D and E but made no difference.
When set to Random it works for a while then stops in that position.
I have tried to change colors, add remove sensors but nothing works.
I tried to go from B to A via C and the same happens.
It is fine in One-way mode.
Beta Was this translation helpful? Give feedback.
All reactions