fixed arduino.py; added compensation for ult timeout in state_estimation