Airspeed trend line missing in version 1.1
Starship
7
Posts
5
Posters
353
Views
3
Watching
-
Agh. Disgusting. I can't believe I missed that. I was just trying to clamp the windup so it wouldn't take five seconds to come back into range after using slew mode, but I must have gotten distracted with something else.
If you want to fix it immediately, locate...
...\Community\bksq-aircraft-starship\bksq-aircraft-starship\html_ui\Pages\VCockpit\Instruments\NavSystems\bksq-aircraft-starship\ASI\ASI.js
Search for:
this.airspeedTrendSpeed = this.linearValueFilter
And replace that line with...
this.airspeedTrendSpeed = this.linearValueFilter(this.airspeedTrendSpeed, this.clamp(this.indicatedAirspeed + ((10000 / this.deltaTime) * airspeedChange), this.indicatedAirspeed-100, this.indicatedAirspeed+100), 0.95);
So sorry about that.
-
Something like that. The clamp function was around the wrong parameters, so it was generating "Not-a-Number".
-
Thanks Nick! it's working again
-
M Marionettework referenced this topic
-
O Orlaam referenced this topic