Sensors for mobile machines