Function caerIMU9EventGetTimestamp
Defined in File imu9.h
Function Documentation
-
static inline int32_t caerIMU9EventGetTimestamp(caerIMU9EventConst event)
Get the 32bit event timestamp, in microseconds. Be aware that this wraps around! You can either ignore this fact, or handle the special ‘TIMESTAMP_WRAP’ event that is generated when this happens, or use the 64bit timestamp which never wraps around. See ‘caerEventPacketHeaderGetEventTSOverflow()’ documentation for more details on the 64bit timestamp.
- Parameters:
event – a valid IMU9Event pointer. Cannot be NULL.
- Returns:
this event’s 32bit microsecond timestamp.