From 4dde865cbcf2a15a379c1f234ebfa6737fde0321 Mon Sep 17 00:00:00 2001 From: janodesbois Date: Mon, 28 Oct 2013 05:48:53 +0100 Subject: [PATCH] JSBSim fix: /velocities/mach was reported as totale mach speed should be the U axis component (machU) --- src/FDM/JSBSim/JSBSim.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5