adapted onboard attitude controller for emergency use only