Ir distance sensor and tower control