#include <IMUData.hpp>
Public Member Functions | |
IMUData () | |
Construct IMUData message. More... | |
IMUData (std::shared_ptr< RawIMUData > ptr) | |
virtual | ~IMUData ()=default |
![]() | |
Buffer () | |
Creates Buffer message. More... | |
Buffer (std::shared_ptr< dai::RawBuffer > ptr) | |
std::vector< std::uint8_t > & | getData () const |
Get non-owning reference to internal buffer. More... | |
int64_t | getSequenceNum () const |
std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | getTimestamp () const |
std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | getTimestampDevice () const |
void | setData (const std::vector< std::uint8_t > &data) |
void | setData (std::vector< std::uint8_t > &&data) |
Buffer & | setSequenceNum (int64_t sequenceNum) |
Buffer & | setTimestamp (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
Buffer & | setTimestampDevice (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
virtual | ~Buffer ()=default |
![]() | |
ADatatype (std::shared_ptr< RawBuffer > r) | |
std::shared_ptr< RawBuffer > | getRaw () const |
virtual | ~ADatatype ()=default |
Public Attributes | |
std::vector< IMUPacket > & | packets |
Detections. More... | |
Private Member Functions | |
std::shared_ptr< RawBuffer > | serialize () const override |
Private Attributes | |
RawIMUData & | rawIMU |
Additional Inherited Members | |
![]() | |
std::shared_ptr< RawBuffer > | raw |
IMUData message. Carries normalized detection results
Definition at line 14 of file IMUData.hpp.
dai::IMUData::IMUData | ( | ) |
Construct IMUData message.
Definition at line 9 of file IMUData.cpp.
|
explicit |
Definition at line 10 of file IMUData.cpp.
|
virtualdefault |
|
overrideprivatevirtual |
Reimplemented from dai::Buffer.
Definition at line 5 of file IMUData.cpp.
std::vector<IMUPacket>& dai::IMUData::packets |
Detections.
Definition at line 25 of file IMUData.hpp.
|
private |
Definition at line 16 of file IMUData.hpp.