Title: The attitude control of flexible spacecraft