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

File imu_triplet_list.hpp

Core API objects - IMU triplet list.

template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<IMUTripletListInterface, T>::type>
#include <imu_triplet_list.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::IMUTripletList
namespace slamcore

Main namespace for the Slamcore public API

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class IMUTripletListInterface
#include <imu_triplet_list.hpp>

Representing a list of IMU triplet measurements.

Convenient access to measurement @a i.

inline const IMUTripletInterface &operator[](const std::size_t i) const
inline const IMUTripletInterface &operator()(const std::size_t i) const
inline const IMUTripletInterface &get(const std::size_t i) const

range-for loops helpers.

inline iterator begin() const
inline iterator end() const

Public Types

using Ptr = std::shared_ptr<IMUTripletListInterface>
using CPtr = std::shared_ptr<const IMUTripletListInterface>
using value_type = IMUTripletInterface
using iterator = RangeIterator<IMUTripletListInterface>

Public Functions

virtual ~IMUTripletListInterface() = default
virtual std::size_t size() const = 0

Number of samples in the list.

Protected Functions

virtual const IMUTripletInterface &getItemImpl(const std::size_t idx) const = 0

Actual implementation to get measurement idx.

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

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::IMUTripletList