refs #896, added logging of CG and old/new position

This commit is contained in:
Klaus Basan
2017-03-05 03:06:48 +01:00
committed by Mathew Sutcliffe
parent 03b8739158
commit 78f3ef375f
5 changed files with 17 additions and 9 deletions

View File

@@ -70,15 +70,16 @@ namespace BlackMisc
BlackMisc::Aviation::CAircraftSituation oldSituation; //!< old situation
BlackMisc::Aviation::CAircraftSituation newSituation; //!< new situation
BlackMisc::Aviation::CAircraftSituation currentSituation; //!< interpolated situation
BlackMisc::PhysicalQuantities::CLength cgAboveGround; //!< center of gravity
};
//! Log entry for parts interpolation
struct PartsLog
{
qint64 timestamp = -1; //!< current timestamp
bool empty = false; //!< empty parts?
BlackMisc::Aviation::CCallsign callsign; //!< current callsign
BlackMisc::Aviation::CAircraftParts parts; //!< parts to be logged
bool empty = false;
};
//! Log current interpolation cycle, only stores in memory, for performance reasons