Function caerIMU6EventPacketGetEvent
Defined in File imu6.h
Function Documentation
-
static inline caerIMU6Event caerIMU6EventPacketGetEvent(caerIMU6EventPacket packet, int32_t n)
Get the IMU 6-axes event at the given index from the event packet.
- 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 IMU 6-axes event. NULL on error.