Page 1 of 1

Class08 - Erroneous speed displayed in cabview

Posted: Thu May 08, 2014 3:29 am
by JLD95
Hi,
The speed indicator underestimates the speed: less 15 mph displayed for more 18 mph in HUD.
2014-05-08_00003.jpg
A patch exists to correct this ?

PS: I see the problem with Class08 Freightliner but probably it's true for Class08 EWS.

Re: Class08 - Erroneous speed displayed in cabview

Posted: Thu May 08, 2014 4:50 pm
by 1S811985
It's the same with the original RS 08. There's quite a few loco's with poorly set up speedo's (not to mention other dials). Personally it's something I've just learned to live with. I like to drive on instruments, HUD free, and don't really care too much if that means a list of infringements coming up at the end of the scenario.

1S81

Re: Class08 - Erroneous speed displayed in cabview

Posted: Sat May 10, 2014 11:28 am
by JLD95
Trains are not like cars ? For security reason, Speedometer shall never underestimate the speed

Re: Class08 - Erroneous speed displayed in cabview

Posted: Sat May 10, 2014 12:01 pm
by gptech
JLD95 wrote:Trains are not like cars ? For security reason, Speedometer shall never underestimate the speed

Well, simulated toy trains aren't...

Re: Class08 - Erroneous speed displayed in cabview

Posted: Sun May 11, 2014 1:14 am
by naddle
If you open the Loco simulation Bin file and scroll down about half way until you find the Max speed entry you will find it set at 20 - change it to 15.1 and the loco will not exceed 15 mph, altered section below, line in question in red for clarity.

<MaxPower d:type="sFloat32" d:alt_encoding="0000000000E07540" d:precision="string">350</MaxPower>
<MaxForce d:type="sFloat32" d:alt_encoding="0000000000804140" d:precision="string">35</MaxForce>
<Has3rdRailPowerSupply d:type="cDeltaString">eFalse</Has3rdRailPowerSupply>
<Requires4thRail d:type="cDeltaString">eFalse</Requires4thRail>
<MaxSpeed d:type="sFloat32" d:alt_encoding="0000004033332E40" d:precision="string">15.1</MaxSpeed>
<StartupTime d:type="sFloat32" d:alt_encoding="0000000000001240" d:precision="string">4.5</StartupTime>
<ShutdownTime d:type="sFloat32" d:alt_encoding="0000000000001240" d:precision="string">4.5</ShutdownTime>

Re: Class08 - Erroneous speed displayed in cabview

Posted: Sun May 11, 2014 5:11 am
by JLD95
Hi,
thank you naddle but the max speed of Class08 is 20 mph and its max. operational speed is 15 mph. So I can exceed the limit of 15 mph but speedometer shall tell me.

Re: Class08 - Erroneous speed displayed in cabview

Posted: Sun May 11, 2014 7:40 am
by karma99
The problem lies with the value of the control for the speedo and the animation for the needle.

Code: Select all

<ControlName d:type="cDeltaString">SpeedometerMPH</ControlName>
<DefaultValue d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</DefaultValue>
<MinimumValue d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</MinimumValue>
<MaximumValue d:type="sFloat32" d:alt_encoding="0000000000003140" d:precision="string">17</MaximumValue>
The control is maxed out at 17mph. Now you can change this to 20mph, however if the needle animation has only been animated to reach the 15 mark then it's never going to go any further no matter the values put in. It doesn't help on this one that the speedo is not a smooth curve of notches so the animation would have to have been created to handle this.
You can try tweaking the MaximumValue in the above control code but I suspect that the animation of the needle wasn't done past the 15 mark so there's nothing much can be done - unless you want to rip open a .ban file and start messing with quaternions, at which point I am outta here! :wink:

Re: Class08 - Erroneous speed displayed in cabview

Posted: Sun May 11, 2014 1:45 pm
by JLD95
thank you karma99 for this information.

In my work, I use quaternions to perform strapdown inertial navigations but I don't know TS2014 conventions and files.

Which PC tool to edit a ban file ?