/autocar

sr design project

Primary LanguagePython

Autocar - Self Driving Vehicle

AutocarImg

Autocar is a car-like robot built with the Matrix Robotics set that can navigate itself through a mock city grid using a USB webcam. See it in action here.

Image Processing Quick Start

Even without the full robot setup, you can play with our image processing functions very simply. We tested this code on Ubuntu 13.04, but any system with Python2.7 and a webcam should theoretically work.

  1. Install OpenCV. On Ubuntu this can be done simply as:

    sudo apt-get install python-opencv python-numpy
    
  2. Clone this repo

    cd /install/path
    git clone https://github.com/scotthew1/autocar.git
    cd autocar/
    
  3. Run an image processing function

    beaglebone/videoLib.py -s -f lines
    

    This will show a visualtion for findLines() which was used to keep Autocar in the lines on the road. There are other functions you can run. beaglebone/videoLib.py --help will list available functions.

See Hardware Setup for more informaion on the hardware of Autocar.

See Software Setup for more information on running the code as a complete system.

List of Components

Special Thanks To...

  • Our awesome proffessors - Dr. Marcy, William Tetley, Michael Frasciello
  • Our awesome TA - Matthew Scott
  • HiTechnic for lending us the robotics set and access to prototype materials
  • Derek Molloy for his excellent BeagleBone tutorials
  • Matthew Witherwax for his posts on USB webcams with the BeagleBone and saving our asses in building OpenCV on the Beaglebone
  • PyBBIO