Function caerIMU6EventSetAccelX

Function Documentation

static inline void caerIMU6EventSetAccelX(caerIMU6Event event, float accelX)

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

Parameters:
  • event – a valid IMU6Event pointer. Cannot be NULL.

  • accelX – acceleration on the X axis.