Get Imu

Get the latest IMU reading (accelerometer, gyroscope, quaternion, temperature).

Accelerations are in m/s², angular rates in rad/s, the quaternion is w-first and the temperature in °C. Returns None on versions without an IMU (Lite, simulation) or when the cached reading has gone stale.

get/api/state/imu

Response

Successful Response

accelerometernumber[] required
gyroscopenumber[] required
quaternionnumber[] required
temperaturenumber required

Changes

Changed in 1 of the 26 revisions of this API.1