You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -858,7 +858,7 @@ public void Save(BinaryWriter outf)
858
858
/// Integrates the wheel rotation movement using a RK4 method,
859
859
/// calculating the required number of substeps
860
860
/// To maintain the accuracy of the integration method, the number of substeps needs to increase when slip speed approaches the slip threshold speed.
861
-
/// The folloi=wing section attempts to calculate the optimal substep limit. This is a trade off between the accuracy of the slips calculations and the CPU load which impacts the screen FPS
861
+
/// The following section attempts to calculate the optimal substep limit. This is a trade off between the accuracy of the slips calculations and the CPU load which impacts the screen FPS
862
862
/// Outputs: wheel speed, wheel angular position and motive force
863
863
/// </summary>
864
864
voidIntegrate(floatelapsedClockSeconds)
@@ -960,11 +960,11 @@ public virtual void Update(float timeSpan)
960
960
// Switches between Polach (high performance) adhesion model and Pacha (low performance) adhesion model
961
961
if(ScreenFrameRate>59)
962
962
{
963
-
UsePoalchAdhesion=true;
963
+
UsePolachAdhesion=true;
964
964
}
965
965
elseif(ScreenFrameRate<55)
966
966
{
967
-
UsePoalchAdhesion=false;
967
+
UsePolachAdhesion=false;
968
968
if(TrainSpeedMpS>0)
969
969
{
970
970
Trace.TraceInformation("Advanced adhesion model switched to low performance option due to low frame rate {0} at ElapsedClockSeconds of {1}",ScreenFrameRate,timeSpan);
@@ -979,7 +979,7 @@ public virtual void Update(float timeSpan)
0 commit comments