The design of intelligent robots as a federation of geometric machines