You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.
File imu_list.hpp
Core API objects - IMU list.
-
template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<IMUListInterface, T>::type> - #include <imu_list.hpp>
Public Static Attributes
-
static constexpr ObjectType EnumType = ObjectType::IMUList
-
static constexpr ObjectType EnumType = ObjectType::IMUList
-
namespace slamcore
Main namespace for the Slamcore public API
Helper conversion methods
slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel
Get information about the client library
-
class IMUListInterface
- #include <imu_list.hpp>
Representing a list of IMU sensor measurements.
Convenient access to measurement @a i.
-
inline const IMUSensorDataInterface &operator[](const std::size_t i) const
-
inline const IMUSensorDataInterface &operator()(const std::size_t i) const
-
inline const IMUSensorDataInterface &get(const std::size_t i) const
Public Types
-
using Ptr = std::shared_ptr<IMUListInterface>
-
using CPtr = std::shared_ptr<const IMUListInterface>
-
using value_type = IMUSensorDataInterface
-
using iterator = RangeIterator<IMUListInterface>
Public Functions
-
virtual ~IMUListInterface() = default
-
virtual std::size_t size() const = 0
Number of samples in the list.
Protected Functions
-
virtual const IMUSensorDataInterface &getItemImpl(const std::size_t idx) const = 0
Actual implementation to get measurement idx.
-
inline const IMUSensorDataInterface &operator[](const std::size_t i) const
- template<typename T> type >
- #include <imu_list.hpp>
Public Static Attributes
-
static constexpr ObjectType EnumType = ObjectType::IMUList
-
static constexpr ObjectType EnumType = ObjectType::IMUList
-
class IMUListInterface