added distance log for IR sensors