[problem/bug] Swap running direction

Moderator: Moderators

[problem/bug] Swap running direction

Postby Buddace » 09.11.2011, 13:53

Swap running direction in a module work alternatively.
Ie:
-set "swap running direction" flag in a module;
-restart rocrail
-try whit automatic route...route don't swap
-restart again rocrail
-try same route...this time swap running direction
-restart again rocrail
-try whit automatic route...route don't swap
-restart again rocrail
-try same route...this time swap running direction

CLS modules is "swapped" :)
Try the only schedule with depart point in bss block
You do not have the required permissions to view the files attached to this post.
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby Buddace » 11.11.2011, 10:08

Hello ?
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 11.11.2011, 12:30

Hello,

maybe the loco last swap is saved in the occ.xml...
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 11.11.2011, 13:32

rjversluis wrote:Hello,

maybe the loco last swap is saved in the occ.xml...

I talk about "route" "running direction" for a module( introduced in revision 1437):
http://wiki.rocrail.net/lib/exe/fetch.p ... gen-en.png
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 11.11.2011, 15:02

Using blocksides?
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 11.11.2011, 15:02

rjversluis wrote:Using blocksides?

No
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 11.11.2011, 15:04

Well, then there are no changes.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 11.11.2011, 19:55

Question, in :
Code: Select all
   <st id="CLS_BLK_01_CLS_BLK_Linea" prev_id="CLS_BLK_01_CLS_BLK_Linea" bka="CLS_BLK_01" bkb="CLS_BLK_Linea" bkc="" modid="cls" bkaside="false" bkbside="false" dir="true" lcdir="false" sga="0" sgb="0" speed="none" countcars="no" reduceV="true" swap="false" swappost="false" crossingblocksignals="false" show="false" manual="false" typeperm="all" maxlen="0" commuter="false" x="0" y="0" z="5" ori="west" ctciid1="" ctciid2="" ctciid3="" ctcaddr1="0" ctcaddr2="0" ctcaddr3="0">
 

Which means :
Code: Select all
lcdir="false"


After set "swap running direction" I found this value changed
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby Buddace » 11.11.2011, 20:01

After unset "running swap direction" I found all direction in route inverted!
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 11.11.2011, 20:05

Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 11.11.2011, 20:32

rjversluis wrote:do you have this option activated:

http://wiki.rocrail.net/doku.php?id=mod ... ve_modules


Yes..useful for other feature.
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby Buddace » 11.11.2011, 20:37

Important "swap running direction" when set...train running bud direction.
Now su "swap running direction" need:
-set "swap running direction"
-rocrail restart
-unset "swap running direction"
-rocrail restart
-Now running direction are swapped

Originally work in different mode :)
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 11.11.2011, 22:03

If you save the modules every time you will end up with a swapped flag which explains your problem. Just turnoff the save option.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 


Return to Modular Layout Support