1. A method comprising: receiving signals from an inertial measurement unit affixed to an apparatus; analyzing said signals to detect whether said apparatus is in quasi-static equilibrium; generating a gravitational acceleration vector based on a portion of said signals received while said apparatus is in said quasi-static equilibrium; and performing a real-time calibration of said inertial measurement unit based on said gravitational acceleration vector.