Inertial measurement unit is an electronic device that measures and reports a body’s specific force, angular rate, and sometimes the magnetic field surrounding the body, using a combination of accelerometers and gyroscopes, sometimes also magnetometers.