IMUData

IMU data message is created by the IMU node.

Reference

class depthai.IMUData

IMUData message. Carries normalized detection results

getData(self: object) → numpy.ndarray[numpy.uint8]
Returns

Reference to internal buffer

getRaw(self: depthai.ADatatype)depthai.RawBuffer
property packets

Detections

setData(*args, **kwargs)

Overloaded function.

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

Parameter data:

Copies data to internal buffer

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

Parameter data:

Copies data to internal 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?

We’re always happy to help with code or other questions you might have.