Added crossing gate and slight modifications to sensorIR