A Multirobot System Multithreaded Architecture for Motion Coordination