Go to the documentation of this file.
95 std::cout <<
"OnIMUCycle(IMU Device ID = 0x" << std::hex << pIMUDevice->
GetDeviceId() << ((
GetDispatchingMode() ==
eCoupled) ?
" Coupled" :
" Decoupled") << std::dec <<
")" << std::endl;
125 std::cout <<
"OnIMUFusedCycle(IMU Device ID = 0x" << std::hex << pIMUDevice->
GetDeviceId() << ((
GetDispatchingMode() ==
eCoupled) ?
" Coupled" :
" Decoupled") << std::dec <<
")" << std::endl;
155 std::cout <<
"OnIMUStateUpdate(IMU Device ID = 0x" << std::hex << pIMUDevice->
GetDeviceId() << ((
GetDispatchingMode() ==
eCoupled) ?
" Coupled" :
" Decoupled") << std::dec <<
")" << std::endl;
static float GetElapsedSeconds(const timeval &Post, const timeval &Pre)
float m_MagneticRotation[3]
IMUState GetIMUState() const
void OnIMUStart(const timeval &TimeStamp, const CIMUDevice *pIMUDevice)
void OnIMUIntegratedState(const timeval &TimeStamp, const CIMUDevice *pIMUDevice)
uint32_t GetMaximalPendingEvents()
void OnIMUCustomEvent(const CIMUEvent &CustomEvent)
float m_MagneticRotation[3]
~CIMUDeducedReckoning() override
PhysicalData m_PhysicalData
void OnIMUFusedCycle(const timeval &TimeStamp, const CIMUDevice *pIMUDevice)
void SetEventHandling(const CIMUEvent::EventType Type, const bool Enabled)
timeval GetLastStartTimeStamp()
const CIMUDevice * GetIMU() const
EventType GetEventType() const
std::vector< T > abs(const std::vector< T > &v)
This class contains the the devices module and the thread for read the measurements.
timeval GetLastCycleReferenceTimeStamp()
DispatchingMode GetDispatchingMode()
void OnIMUEvent(const CIMUEvent &Event) override
timeval GetLastCustomEventReferenceTimeStamp()
uint64_t GetDeviceId() const
float m_GyroscopeRotation[3]
float m_QuaternionRotation[4]
float m_AccelerationMagnitud
timeval GetLastStopTimeStamp()
float m_GyroscopeRotation[3]
CIMUDeducedReckoning(const bool IsVerbose)
uint32_t GetTotalPendingEvents()
void OnIMUStop(const timeval &TimeStamp, const CIMUDevice *pIMUDevice)
static long GetElapsedMicroseconds(const timeval &Post, const timeval &Pre)
const timeval & GetTimeStamp() const
ControlData m_ControlData
void OnIMUCycle(const timeval &TimeStamp, const CIMUDevice *pIMUDevice)
const timeval & GetReferenceTimeStamp() const
float m_OrientationQuaternion[4]
timeval GetLastFusedCycleReferenceTimeStamp()
timeval GetLastIntegratedStateReferenceTimeStamp()