A multi-processor architecture for the real-time switching control of mobile robots