Sharp IR sensor access with lookups and Kalman-like filter