Gravity measured with inertial sensors