Function caerIMU9EventGetAccelY

Function Documentation

static inline float caerIMU9EventGetAccelY(caerIMU9EventConst event)

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

Parameters:

event – a valid IMU9Event pointer. Cannot be NULL.

Returns:

acceleration on the Y axis.