Page 1 of 1

Wrong output from (P:ACTIVE EYEPOINT ALT, feet)

Posted: Mon Apr 29, 2019 6:10 pm
by AlexisVGR
While working on our aircraft, we needed to query the aircraft eyepoint and observed that the Altitude P:var outputs wrong information.

The difference in height between aircraft origin and eyepoint is 2.47ft or 0.75m in aircraft.cfg.

In the sim, we tried reading eyepoint and aircraft altitude in metres and feet and noted that eyepoint gives erroneous values.

Specifically, when querying eyepoint in metres, the result output is what it should be in Feet.
When querying the eyepoint in feet, the result is ~3.28 times the result of "metres".

So the conversion factor of 3.28 is correct, but the base value that is used is wrong.

Attached is an image showing the outputs of the eyepoint in metres, feet and the aircraft altitude in feet. These are raw values, taken from P3Dv4.4.


Re: Wrong output from (P:ACTIVE EYEPOINT ALT, feet)

Posted: Tue Apr 30, 2019 5:12 pm
by Brady Butler
Hello AlexisVGR,

Thanks for the report, we should have this fixed in the next release.