Orbital Mechanics and Formation Flying:A Digital Control Perspective