Distributed Architecture for Mobile Robots