Function caerIMU6EventPacketFromPacketHeaderConst
Defined in File imu6.h
Function Documentation
-
static inline caerIMU6EventPacketConst caerIMU6EventPacketFromPacketHeaderConst(caerEventPacketHeaderConst header)
Transform a generic read-only event packet header into a read-only IMU 6-axes event packet. This takes care of proper casting and checks that the packet type really matches the intended conversion type.
- Parameters:
header – a valid read-only event packet header pointer. Cannot be NULL.
- Returns:
a properly converted, read-only typed event packet pointer.