A framework for distributed simulation of multirobot systems