def calibrate_sense(): count = 0 while (True): count += 1 if count > NUMBER_OF_ITERATIONS: break obstacle_range = SenseLandmarks.make_sweep() print("Obstacle range ", obstacle_range) raw_input("Press Enter to continue")