mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
fixed conversion of airspeed from ft/s to knots as defined in latest JSBSim versions
This commit is contained in:
parent
11a70536eb
commit
6beac98d4a
@ -428,7 +428,7 @@ void JSBSim::recv_fdm(const struct sitl_input &input)
|
||||
location.lng = degrees(fdm.longitude) * 1.0e7;
|
||||
location.alt = fdm.agl*100 + home.alt;
|
||||
dcm.from_euler(fdm.phi, fdm.theta, fdm.psi);
|
||||
airspeed = fdm.vcas * FEET_TO_METERS;
|
||||
airspeed = fdm.vcas * KNOTS_TO_METERS_PER_SECOND;
|
||||
airspeed_pitot = airspeed;
|
||||
|
||||
// update magnetic field
|
||||
|
Loading…
Reference in New Issue
Block a user