Function caerIMU9EventPacketFromPacketHeader
Defined in File imu9.h
Function Documentation
-
static inline caerIMU9EventPacket caerIMU9EventPacketFromPacketHeader(caerEventPacketHeader header)
Transform a generic event packet header into an IMU 9-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 event packet header pointer. Cannot be NULL.
- Returns:
a properly converted, typed event packet pointer.