Imported from https://github.com/neurobot-project/AvoidanceSimulation