Rigid body dynamics for space applications. (2017)