Implementation of VirtualInfraredSensor for the simulator. Testing
required.