#include <RawIMUData.hpp>

Public Types | |
| enum | Accuracy : std::uint8_t { Accuracy::UNRELIABLE = 0, Accuracy::LOW = 1, Accuracy::MEDIUM = 2, Accuracy::HIGH = 3 } |
Public Member Functions | |
| int32_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 |
Public Attributes | |
| Accuracy | accuracy = Accuracy::UNRELIABLE |
| int32_t | sequence = 0 |
| Timestamp | timestamp = {} |
| Timestamp | tsDevice = {} |
Definition at line 10 of file RawIMUData.hpp.
|
strong |
| Enumerator | |
|---|---|
| UNRELIABLE | |
| LOW | |
| MEDIUM | |
| HIGH | |
Definition at line 11 of file RawIMUData.hpp.
|
inline |
Retrieves IMU report sequence number
Definition at line 51 of file RawIMUData.hpp.
|
inline |
Retrieves timestamp related to dai::Clock::now()
Definition at line 36 of file RawIMUData.hpp.
|
inline |
Retrieves timestamp directly captured from device's monotonic clock, not synchronized to host time. Used mostly for debugging
Definition at line 44 of file RawIMUData.hpp.
| Accuracy dai::IMUReport::accuracy = Accuracy::UNRELIABLE |
Accuracy of sensor
Definition at line 25 of file RawIMUData.hpp.
| int32_t dai::IMUReport::sequence = 0 |
The sequence number increments once for each report sent. Gaps in the sequence numbers indicate missing or dropped reports. Max value 2^32 after which resets to 0.
Definition at line 22 of file RawIMUData.hpp.
| Timestamp dai::IMUReport::timestamp = {} |
Generation timestamp, synced to host time
Definition at line 28 of file RawIMUData.hpp.
| Timestamp dai::IMUReport::tsDevice = {} |
Generation timestamp, direct device monotonic clock
Definition at line 31 of file RawIMUData.hpp.