A peer-to-peer software framework for cooperative robotic system