Agent-Based Simulation of Robotic Systems