An Autonomous and Dependable Formation Flying Technique