Function caerIMU6EventPacketGetEventConst

Function Documentation

static inline caerIMU6EventConst caerIMU6EventPacketGetEventConst(caerIMU6EventPacketConst packet, int32_t n)

Get the IMU 6-axes event at the given index from the event packet. This is a read-only event, do not change its contents in any way!

Parameters:
  • packet – a valid IMU6EventPacket pointer. Cannot be NULL.

  • n – the index of the returned event. Must be within [0,eventCapacity[ bounds.

Returns:

the requested read-only IMU 6-axes event. NULL on error.