Function caerIMU9EventPacketGetEvent

Function Documentation

static inline caerIMU9Event caerIMU9EventPacketGetEvent(caerIMU9EventPacket packet, int32_t n)

Get the IMU 9-axes event at the given index from the event packet.

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 IMU 9-axes event. NULL on error.