Function caerIMU6EventGetAccelZ

Function Documentation

static inline float caerIMU6EventGetAccelZ(caerIMU6EventConst event)

Get the Z axis acceleration reading (from accelerometer). This is in g (1 g = 9.81 m/s²).

Parameters:

event – a valid IMU6Event pointer. Cannot be NULL.

Returns:

acceleration on the Z axis.