You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

Class slamcore::IMUSensorDataInterface

class IMUSensorDataInterface : public ObjectInterface, public virtual MeasurementPointInterface<imu_clock>

Representing a single accelerometer/gyroscope/magnetometer measurement.

Public Types

using Ptr = std::shared_ptr<IMUSensorDataInterface>
using CPtr = std::shared_ptr<const IMUSensorDataInterface>
using MeasurementPointT = MeasurementPointInterface<imu_clock>

Public Functions

inline virtual ObjectType type() const

Type of the object.

virtual ~IMUSensorDataInterface() = default
inline virtual ScalarT getTemperature() const

[OPTIONAL] Get temperature.

virtual const VectorInterface &getMeasurement() const = 0

Returns the 3-element vector with the measurements [m/s^2] / [rad/s] / [Gauss].