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

File imu_triplet.hpp

Core API objects - IMU triplet.

template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<IMUTripletInterface, T>::type>
#include <imu_triplet.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::IMUTriplet
namespace slamcore

Main namespace for the Slamcore public API

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class IMUTripletInterface
#include <imu_triplet.hpp>

Representing an IMU measurement triplet.

Public Types

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

Public Functions

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.

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

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::IMUTriplet