Railway Sensors for Cabin Control