1
0
Fork 0

JSBSim fix: /velocities/mach was reported as totale mach speed

should be the U axis component (machU)
This commit is contained in:
janodesbois 2013-10-28 05:48:53 +01:00
parent ce09c320d3
commit 4dde865cbc

View file

@ -785,7 +785,7 @@ bool FGJSBsim::copy_from_JSBsim()
Auxiliary->GetEulerRates(FGJSBBase::eTht), Auxiliary->GetEulerRates(FGJSBBase::eTht),
Auxiliary->GetEulerRates(FGJSBBase::ePsi) ); Auxiliary->GetEulerRates(FGJSBBase::ePsi) );
_set_Mach_number( Auxiliary->GetMach() ); _set_Mach_number( Auxiliary->GetMachU() );
// Positions of Visual Reference Point // Positions of Visual Reference Point
FGLocation l = Auxiliary->GetLocationVRP(); FGLocation l = Auxiliary->GetLocationVRP();