IMU node for BNO08X.
More...
#include <IMU.hpp>
|
constexpr static const char * | NAME = "IMU" |
|
IMU node for BNO08X.
Definition at line 14 of file IMU.hpp.
◆ IMU() [1/2]
dai::node::IMU::IMU |
( |
const std::shared_ptr< PipelineImpl > & |
par, |
|
|
int64_t |
nodeId |
|
) |
| |
Constructs IMU node.
Definition at line 8 of file IMU.cpp.
◆ IMU() [2/2]
dai::node::IMU::IMU |
( |
const std::shared_ptr< PipelineImpl > & |
par, |
|
|
int64_t |
nodeId, |
|
|
std::unique_ptr< Properties > |
props |
|
) |
| |
◆ enableFirmwareUpdate()
void dai::node::IMU::enableFirmwareUpdate |
( |
bool |
enable | ) |
|
◆ enableIMUSensor() [1/4]
void dai::node::IMU::enableIMUSensor |
( |
const std::vector< IMUSensor > & |
sensors, |
|
|
uint32_t |
reportRate |
|
) |
| |
Enable a list of IMU sensors with default configuration
Definition at line 29 of file IMU.cpp.
◆ enableIMUSensor() [2/4]
void dai::node::IMU::enableIMUSensor |
( |
const std::vector< IMUSensorConfig > & |
sensorConfigs | ) |
|
Enable a list of IMU sensors with explicit configuration
Definition at line 18 of file IMU.cpp.
◆ enableIMUSensor() [3/4]
void dai::node::IMU::enableIMUSensor |
( |
IMUSensor |
sensor, |
|
|
uint32_t |
reportRate |
|
) |
| |
Enable a new IMU sensor with default configuration
Definition at line 22 of file IMU.cpp.
◆ enableIMUSensor() [4/4]
Enable a new IMU sensor with explicit configuration
Definition at line 14 of file IMU.cpp.
◆ getBatchReportThreshold()
std::int32_t dai::node::IMU::getBatchReportThreshold |
( |
| ) |
const |
Above this packet threshold data will be sent to host, if queue is not blocked
Definition at line 44 of file IMU.cpp.
◆ getMaxBatchReports()
std::int32_t dai::node::IMU::getMaxBatchReports |
( |
| ) |
const |
Maximum number of IMU packets in a batch report
Definition at line 52 of file IMU.cpp.
◆ setBatchReportThreshold()
void dai::node::IMU::setBatchReportThreshold |
( |
std::int32_t |
batchReportThreshold | ) |
|
Above this packet threshold data will be sent to host, if queue is not blocked
Definition at line 40 of file IMU.cpp.
◆ setMaxBatchReports()
void dai::node::IMU::setMaxBatchReports |
( |
std::int32_t |
maxBatchReports | ) |
|
Maximum number of IMU packets in a batch report
Definition at line 48 of file IMU.cpp.
◆ NAME
constexpr static const char* dai::node::IMU::NAME = "IMU" |
|
staticconstexpr |
◆ out
The documentation for this class was generated from the following files: