SlamBad is the great 3D robot simulator with some modifications so that MRL has tighter integration.
In Dynamic Robot Simulators an Arduino is used to simulate the building of a virtual model of the environment. When a bumper is bumped, a virtual wall appears.
References