]> git.mxchange.org Git - flightgear.git/commitdiff
JSBSim fix: /velocities/mach was reported as totale mach speed
authorjanodesbois <jean.pellotier@wanadoo.fr>
Mon, 28 Oct 2013 04:48:53 +0000 (05:48 +0100)
committerjanodesbois <jean.pellotier@wanadoo.fr>
Mon, 28 Oct 2013 04:48:53 +0000 (05:48 +0100)
should be the U axis component (machU)

src/FDM/JSBSim/JSBSim.cxx

index f6efc4b11f58da89c0405adc345f3cb458ae6474..5c2a9e7c264dd7b69bf7b5ba53439a1b7b35e100 100644 (file)
@@ -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();