Warning and start-up prevention for protection of persons and detection of obstacles around railway maintenance machinery.