funny behavior of loco with schedule

Bug #407318 reported by cwichmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rocrail
Fix Released
Medium
Unassigned

Bug Description

- placed a loco in block 1 and assigned the schedule "hinundher"
- closed block 3
- start loco
Result is: Loco rides to block 2 and wait until block 3 is free
- open block 3
- loco passes block 3 and waits in block 4
- close block 2
- loco starts from block 4 and rides to block 3
Result is: loco toggles between block 3 and 4 (although the "allow change direction" flag in block 3 is not set.)

The first result only occurs in forward direction, the second result only in reverse direction.
Would be great if this can be made consistent. It's much better to let the train wait until the block is free than to togle between the blocks.

Tested with rev.691

Revision history for this message
cwichmann (christian-wichmann) wrote :
description: updated
Revision history for this message
cwichmann (christian-wichmann) wrote :
Revision history for this message
Rocrail (r.j.versluis) wrote :

I understand the problem and the follow up solution is at this moment the best way to avoid toggling between blocks in case blocks are multiple defined in schedules.
As far as I can remember I did made a fix for this problem, but seems not to work under all conditions.

Changed in rocrail:
importance: Undecided → Medium
Revision history for this message
Rocrail (r.j.versluis) wrote :

Fix committed in revnr 696.

Changed in rocrail:
status: New → Fix Committed
Revision history for this message
cwichmann (christian-wichmann) wrote :

Hi Rob,

the fix works great. I ask Hartmut to test this too.
Thanks
Christian

Rocrail (r.j.versluis)
Changed in rocrail:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.