You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.01.
Class slamcore::IMUTripletInterface
-
class 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.
-
using Ptr = std::shared_ptr<IMUTripletInterface>