IMUData

IMU data message is created by the IMU node.

Reference

class depthai.IMUData
getData(self: object) → numpy.ndarray[numpy.uint8]
getRaw(self: depthai.ADatatype)depthai.RawBuffer
getSequenceNum(self: depthai.Buffer)int
getTimestamp(self: depthai.Buffer)datetime.timedelta
getTimestampDevice(self: depthai.Buffer)datetime.timedelta
setData(*args, **kwargs)

Overloaded function.

  1. setData(self: depthai.Buffer, arg0: list[int]) -> None

  2. setData(self: depthai.Buffer, arg0: numpy.ndarray[numpy.uint8]) -> None

setSequenceNum(self: depthai.Buffer, arg0: int)depthai.Buffer
setTimestamp(self: depthai.Buffer, arg0: datetime.timedelta)depthai.Buffer
setTimestampDevice(self: depthai.Buffer, arg0: datetime.timedelta)depthai.Buffer
class dai::IMUData : public dai::Buffer

IMUData message. Carries normalized detection results

Public Functions

IMUData()

Construct IMUData message.

IMUData(std::shared_ptr<RawIMUData> ptr)
~IMUData() = default

Public Members

std::vector<IMUPacket> &packets

Detections.

Private Functions

std::shared_ptr<RawBuffer> serialize() const override

Private Members

RawIMUData &rawIMU

Got questions?

Head over to Discussion Forum for technical support or any other questions you might have.