From: janodesbois Date: Mon, 28 Oct 2013 04:48:53 +0000 (+0100) Subject: JSBSim fix: /velocities/mach was reported as totale mach speed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4dde865cbcf2a15a379c1f234ebfa6737fde0321;p=flightgear.git JSBSim fix: /velocities/mach was reported as totale mach speed should be the U axis component (machU) --- diff --git a/src/FDM/JSBSim/JSBSim.cxx b/src/FDM/JSBSim/JSBSim.cxx index f6efc4b11..5c2a9e7c2 100644 --- a/src/FDM/JSBSim/JSBSim.cxx +++ b/src/FDM/JSBSim/JSBSim.cxx @@ -785,7 +785,7 @@ bool FGJSBsim::copy_from_JSBsim() Auxiliary->GetEulerRates(FGJSBBase::eTht), Auxiliary->GetEulerRates(FGJSBBase::ePsi) ); - _set_Mach_number( Auxiliary->GetMach() ); + _set_Mach_number( Auxiliary->GetMachU() ); // Positions of Visual Reference Point FGLocation l = Auxiliary->GetLocationVRP();