@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class IMU extends Node
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.OutputPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
IMU(PipelineImpl par,
long nodeId)
Constructs IMU node.
|
IMU(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enableIMUSensor(depthai.IMUSensor sensor,
int reportRate)
Enable a new IMU sensor with default configuration
|
void |
enableIMUSensor(IMUSensorConfig sensorConfig)
Enable a new IMU sensor with explicit configuration
|
void |
enableIMUSensor(int[] sensors,
int reportRate) |
void |
enableIMUSensor(IntBuffer sensors,
int reportRate) |
void |
enableIMUSensor(int sensor,
int reportRate) |
void |
enableIMUSensor(IntPointer sensors,
int reportRate)
Enable a list of IMU sensors with default configuration
|
int |
getBatchReportThreshold()
Above this packet threshold data will be sent to host, if queue is not blocked
|
int |
getMaxBatchReports()
Maximum number of IMU packets in a batch report
|
BytePointer |
getName()
Retrieves nodes name
|
Node.Output |
out()
Outputs IMUData message that carries IMU packets.
|
void |
setBatchReportThreshold(int batchReportThreshold)
Above this packet threshold data will be sent to host, if queue is not blocked
|
void |
setMaxBatchReports(int maxBatchReports)
Maximum number of IMU packets in a batch report
|
assetManager, clone, getAssets, getInputRefs, getInputs, getOutputRefs, getOutputs, getParentPipeline, getProperties, getRequiredOpenVINOVersion, id, inputs, outputsaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic IMU(Pointer p)
Pointer(Pointer).public IMU(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId)
@StdString public BytePointer getName()
Node@MemberGetter @ByRef public Node.Output out()
public void enableIMUSensor(@ByVal IMUSensorConfig sensorConfig)
public void enableIMUSensor(depthai.IMUSensor sensor, @Cast(value="uint32_t") int reportRate)
public void enableIMUSensor(@Cast(value="dai::IMUSensor") int sensor, @Cast(value="uint32_t") int reportRate)
public void enableIMUSensor(@StdVector @Cast(value="dai::IMUSensor*") IntPointer sensors, @Cast(value="uint32_t") int reportRate)
public void enableIMUSensor(@StdVector @Cast(value="dai::IMUSensor*") IntBuffer sensors, @Cast(value="uint32_t") int reportRate)
public void enableIMUSensor(@StdVector @Cast(value="dai::IMUSensor*") int[] sensors, @Cast(value="uint32_t") int reportRate)
public void setBatchReportThreshold(@Cast(value="std::int32_t") int batchReportThreshold)
@Cast(value="std::int32_t") public int getBatchReportThreshold()
public void setMaxBatchReports(@Cast(value="std::int32_t") int maxBatchReports)
Copyright © 2021. All rights reserved.