Tinkerforge IMU Bricklet 3.0 houses a 3-axis accelerometer, magnetometer (compass), and gyroscope and works as an inertial measurement unit. This device can measure 9 degrees of freedom and computes quaternions, linear acceleration, gravity vector as well as independent heading, roll, and pitch angles. All this makes the IMU Bricklet 3.0 a complete attitude and heading reference system. The IMU Bricklet 3.0 provides an API that supports many programming languages. This allows access to the calculated data and also the acceleration, magnetic field, and angular velocity of the three axes.