Git Product home page Git Product logo

the-flash-sudo's Introduction

the-flash-sudo

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

Team Members

Haowen (Harvey) Shi, Zixu (Elias) Lu, Yixiu (Matthew) Zhao

Installation Instructions

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.

Deploying dependencies on your RaspberryPi:

You need to install BrickPi and have the module BrickPi ready and connected to your raspberrypi to run the mobot controller.

List of dependencies:

  1. OpenCV
  2. python2
  3. numpy
  4. pyserial
  5. BrickPi
  6. rpyc
  7. picamera

For Mac Users: First Step

/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}"

For Windows Users: First Step

Choose correct version for your system (x64/x86)

  • Install OpenCV for python2
$ conda install opencv

Install rpyc for remote object sharing

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

Install PIL (Python Imaging Library)

  • 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

Clone repo to your computer

$ git clone https://github.com/harveybia/the-flash-sudo.git

You are good to go.

the-flash-sudo's People

Contributors

eliaslu avatar harveybia avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.