sunski34 Posted October 2, 2016 Posted October 2, 2016 Hi, I tested today getVelocity on DCS 2.0.3 in a M2000C. getVelocity returns a 3D vector in m/s take sqrt(x^2 + y^2 + z^2) then convert to Knots (* 1.9438 ) There's a difference about 20knots with the hub, variable.... I don't understand why ! The F2 view give the good speed... In gazelle no problem
sunski34 Posted October 2, 2016 Author Posted October 2, 2016 I understood, depends on altitude of course ! Is there a formula to have the hud speed value?
nomdeplume Posted October 3, 2016 Posted October 3, 2016 Yes and no. Working out the indicated airspeed is not straightforward, it's not really dependent on the altitude but on air density. So while altitude is part of it, it also depends on temperature/air pressure. At least that's my understanding. If you're keen enough, you could try this: http://aviation.stackexchange.com/questions/25801/how-do-you-convert-true-airspeed-to-indicated-airspeed This page also has a converter (at the bottom) which can calculate IAS from true air speed, with some limitations. So you could perhaps use that if it's close enough for your purposes. The relevant function is calculateTAS() in AviationCalculator.js.
sunski34 Posted October 3, 2016 Author Posted October 3, 2016 yes, you're right, but air density dépends on altitude so... thanks for your informations
Recommended Posts