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

Class slamcore::IMUSensorDataInterface

class IMUSensorDataInterface : public MeasurementPoint<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 = MeasurementPoint<imu_clock>

Public Functions

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

[OPTIONAL] Get temperature.

virtual const Vector<double, 3> &getMeasurement() const = 0

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