[Solved] Loco leaves in the wrong direction after r4439

Post Reply
rjversluis
Site Admin
Posts: 39881
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.02.2013, 17:55

Hi,

in the OK trace there is a swap:

Code: Select all

20130218.212622.468 r9999a 00000E5C OLcDrive 0091 checkScheduleEntryActions...
20130218.212622.468 r9999a 00000E5C OLcDrive 0137 Setting state for "52. Br86 345" from LC_FINDDEST to LC_INITDEST.
20130218.212622.578 r9999a 52. Br86 OLoc     1338 swap event 4000 ms

**** 4000ms sleep and swap *****

20130218.212626.687 r9999a 00000E5C OLcDrive 0064 loco direction for [52. Br86 345] is [forwards], route direction [fromTo], swappost[false]
20130218.212627.937 r9999a 52. Br86 OLoc     2129 <lc dir="true" V="0"/>
20130218.212627.937 r9999a 52. Br86 OLoc     1189 Sending command...V=0
20130218.212627.937 r9999c 00000E5C OMCS2    0322 loc 52 (dcc) speedstep=0 backwards
in the second trace there is also a swap but 4000ms after 212302.593 which would be at 212306.593 but by that time the loco already runs:

Code: Select all

20130218.212302.484 r9999a 00000DA8 OLcDrive 0094 checkScheduleEntryActions...
20130218.212302.484 r9999a 00000DA8 OLcDrive 0140 Setting state for "52. Br86 345" from LC_FINDDEST to LC_INITDEST.
20130218.212302.593 r9999a 52. Br86 OLoc     1332 loc evttimer 4000 ms
20130218.212302.593 r9999a 52. Br86 OLoc     1334 timed event[114] 4000 ms
20130218.212302.593 r9999a 00000DA8 OLcDrive 0064 loco direction for [52. Br86 345] is [forwards], route direction [fromTo], swappost[false]
20130218.212303.843 r9999a 52. Br86 OLoc     2247 <lc dir="true" V="0"/>
20130218.212303.843 r9999a 52. Br86 OLoc     1196 Sending command...V=0
20130218.212303.843 r9999c 00000DA8 OMCS2    0324 loc 52 (dcc) forwards

running...

20130218.212306.593 ***** SWAP *****
Just remove the swap event timer.
Timed events are async in newer Rocrail revisions!

Post Reply

Return to “Automatic mode”