Operational turntable
#122
Posted 23 May 2016 - 03:39 AM
Csantucci, on 22 May 2016 - 11:37 PM, said:
I'm sorry midneguy; I was quite sure you still had the crash, because I couldn't find errors in that part.
I made other tests, but no crash. So by the moment I'll upload the pack as it is, also because yours seems to be the only problem case.
Maybe in the future the problem will show up in a freeware route, so I can reproduce it.
I made other tests, but no crash. So by the moment I'll upload the pack as it is, also because yours seems to be the only problem case.
Maybe in the future the problem will show up in a freeware route, so I can reproduce it.
Carlo,
I've now confirmed the crash problem with what appears to be the same basic error message on the Silverton V2 route with the narrow gauge turntable in Durango, and I just had the error happen in the Rollins Pass route at the Glenwood turntable. Both routes are freeware available on Trainsim.com so you can test them.
I posted the information for the Silverton V2 narrow gauge turntable in post #77 of this thread for both the turntables.dat file and also how to animate that turntable. For the Rollins Pass route, here's the turntables.dat information - this route uses the a1t27mTurntable.s turntable shape, and I updated the turntable with your animation information.
3 Turntable( WFile ( "w-012348+014296.w" ) UiD ( 229 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-012249+014309.w" ) UiD ( 76 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-012249+014307.w" ) UiD ( 762 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) )
Here also is the log file from the Glenwood turntable crash in the Rollins Pass route:
Attached File(s)
-
OpenRailsLog.txt (19.69K)
Number of downloads: 553
#123
Posted 23 May 2016 - 03:45 AM
#124
Posted 23 May 2016 - 04:24 AM
Sorry midneguy, I overlooked your post #77. I'll have a try with one of those routes.
#125
Posted 23 May 2016 - 02:50 PM
Csantucci, on 23 May 2016 - 04:24 AM, said:
Sorry midneguy, I overlooked your post #77. I'll have a try with one of those routes.
No problem Carlo, I know it's easy to overlook some posts in a thread as active as this one has been :)
I can share a little more information now, since I've been able to test a few more routes... I haven't been able to replicate the same error that has troubled me on the Silverton V2 and Feather River Route at the Keddie turntable in several other freeware routes. So far it appears that the GN Hi-Line, Tennessee Pass, and GT Holly V2 Routes don't have any problem using their turntables. All 3 of these routes use the A1t27mTurntable.s turntable shape. So, for whatever reason these routes appear to be OK while the Feather River, Rollins Pass, and Silverton V2 routes do have the crash problem.
In case anyone wants to experiment with the other routes that seem to work, here is the information I generated for them...
GT Holly V2 Route turntables.dat
2 Turntable( WFile ( "w-011396+014478.w" ) UiD ( 170 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-011368+014463.w" ) UiD ( 249 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) )
GN Hi-Line Version 3 turntables.dat:
4 Turntable( WFile ( "w-012584+014768.w" ) UiD ( 68 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-012474+014720.w" ) UiD ( 143 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-012471+014721.w" ) UiD ( 880 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-012406+014775.w" ) UiD ( 42 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) )
And lastly, the Tennessee Pass Route turntables.dat:
4 Turntable( WFile ( "w-012238+014226.w" ) UiD ( 417 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-012263+014236.w" ) UiD ( 86 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-012295+014241.w" ) UiD ( 108 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-012305+014280.w" ) UiD ( 167 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) )
#126
Posted 23 May 2016 - 07:11 PM
Just a quick question.... is the degree of rotation limited to 180 degrees in either direction from the original starting position?
#127
Posted 23 May 2016 - 07:33 PM
jared2982, on 23 May 2016 - 07:11 PM, said:
Just a quick question.... is the degree of rotation limited to 180 degrees in either direction from the original starting position?
I don't think so, at least if I'm understanding your question correctly... In the sim I've spun the turntables around in the same direction for more than one full rotation, and in the routes where they work without the errors I've mentioned before that seems to work just fine. This makes sense considering that the animations added to the various turntables have been for each degree, around a full 360 degrees - after going all the way around they just continue to spin.
Is that what you meant, or something else?
#128
Posted 23 May 2016 - 10:37 PM
@midneguy: I was able to reproduce the crash, and to find a fix. Pls. try release x.3547.
#129
Posted 23 May 2016 - 11:20 PM
#130
Posted 24 May 2016 - 12:27 AM
I don't think you can animate a turntable in the same way as a signal or switch. It has to be considered like a wheel on a steam locomotive where the animation is defined for the full rotation. If you are still using (0,180,0) the behaviour you see is what I would expect to see because that says move from 0 to 180 then back to 0. To achieve smooth full rotation at slow speed does require a lot more steps in the animation.