mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #896, added logging of CG and old/new position
This commit is contained in:
committed by
Mathew Sutcliffe
parent
03b8739158
commit
78f3ef375f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user