Issue #100 [FG] Get COM values from simulator

This commit is contained in:
Lars Toenning
2021-09-03 14:15:19 +02:00
committed by Mat Sutcliffe
parent c1b75f7532
commit 2a69f10ce2
4 changed files with 57 additions and 1 deletions

View File

@@ -101,6 +101,8 @@ namespace BlackSimPlugin
double speedBrakeRatio; //!< Speed break ratio [%]
double pressureAltitudeFt; //!< Pressure altitude [inhg]
double groundElevation; //!< Ground Elevation [m]
double volumeCom1; //!< Volume com1 [0..1]
double volumeCom2; //!< Volume com2 [0..1]
};
//! Flightgear ISimulator implementation
@@ -242,7 +244,7 @@ namespace BlackSimPlugin
void resetFlightgearData()
{
m_flightgearData = { "", "", 0, 0, 0, 0, 0, 0, 0, false, 122800, 122800, 122800, 122800, 2000, 0, false, false, false, false,
false, false, 0, 0, {}, 0.0, 0.0, 0.0
false, false, 0, 0, {}, 0.0, 0.0, 0.0, 1.0, 1.0
};
}