Class slamcore::IMUTripletInterface

class slamcore::IMUTripletInterface : public ObjectInterface

Representing an IMU measurement triplet.

Public Types

using Ptr = std::shared_ptr<IMUTripletInterface>
using CPtr = std::shared_ptr<const IMUTripletInterface>

Public Functions

inline virtual ObjectType type() const

Type of the object.

virtual ~IMUTripletInterface() = default
inline virtual bool haveAccelerometer() const

If we provide accelerometer data in this sample.

virtual const IMUSensorDataInterface &getAccelerometerData() const = 0

Returns the acceleration measurement.

inline virtual bool haveGyroscope() const

If we provide gyroscope data in this sample.

virtual const IMUSensorDataInterface &getGyroscopeData() const = 0

Returns the rate of rotation measurement.

inline virtual bool haveMagnetometer() const

If we provide magnetometer data in this sample.

virtual const IMUSensorDataInterface &getMagnetometerData() const = 0

Returns the rate of rotation measurement.