|
BNO08X Driver 0.1.0
API reference
|
Shake detector configuration record 0x7D7D. More...
#include <bno08x_records.hpp>
Public Attributes | |
| uint32_t | min_time_us {0} |
| Shortest shake. | |
| uint32_t | max_time_us {0} |
| Longest shake. | |
| int32_t | threshold_q26 {0} |
| Acceleration threshold in m/s2, Q26. | |
| uint32_t | count {0} |
| Shakes needed. | |
| bool | enable_x {false} |
| Detect on X. | |
| bool | enable_y {false} |
| Detect on Y. | |
| bool | enable_z {false} |
Friends | |
| constexpr bool | operator== (const ShakeConfig &lhs, const ShakeConfig &rhs) noexcept=default |
| Equality of all fields, as a hidden friend. | |
Shake detector configuration record 0x7D7D.
| bool bno08x::ShakeConfig::enable_z {false} |
Detect on Z.