CMU Spring Carnival Mobot Racing 2016
We won first place with $1000 prize money! Check us out at: https://youtu.be/ja-ICS9NzA0?t=255
Haowen (Harvey) Shi, Zixu (Elias) Lu, Yixiu (Matthew) Zhao
Make sure you have the correct paths in your environment. For example, sometimes you have pip2 directing to a python2 pip and use python2 instead of python.
You need to install BrickPi and have the module BrickPi ready and connected to your raspberrypi to run the mobot controller.
- OpenCV
- python2
- numpy
- pyserial
- BrickPi
- rpyc
- picamera
- Get homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install python2 in homebrew
$ brew install python
$ brew link --overwrite python
- Install opencv3 for python2
$ brew tap homebrew/science
$ brew install opencv
- Add /usr/local/bin into your path
Add the following line at the end of your .bash_profile
PATH="/usr/local/bin:${PATH}"
- Install Anaconda
Choose correct version for your system (x64/x86)
- Install OpenCV for python2
$ conda install opencv
Make sure you have pip for brew python in PATH (not the system default one)
You can check this by using "which" command (UNIX only)
$ which python
You should see:
/usr/local/bin/python
$ pip install rpyc
- For Mac Users:
(Sometimes this package is already included when installing OpenCV with brew)
$ sudo -H pip install Pillow
- For Windows Users:
You need to install image library for PIL. Do this in Administrator Command Prompt:
$ pip uninstall Pillow
$ pip install image
$ git clone https://github.com/harveybia/the-flash-sudo.git
You are good to go.