testing for drive until x feet and cleaned up camera code