Control of a flexible space-based robot with slewing-deployable links