File imu_sensor_data.hpp

Core API objects - IMU sensor data.

template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<IMUSensorDataInterface, T>::type>
#include <imu_sensor_data.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::IMUSensorData
namespace slamcore

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class IMUSensorDataInterface : public MeasurementPoint<imu_clock>
#include <imu_sensor_data.hpp>

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].

template<typename T> type >
#include <imu_sensor_data.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::IMUSensorData