Function caerIMU9EventPacketGetEventConst

Function Documentation

static inline caerIMU9EventConst caerIMU9EventPacketGetEventConst(caerIMU9EventPacketConst packet, int32_t n)

Get the IMU 9-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 IMU9EventPacket pointer. Cannot be NULL.

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

Returns:

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