jonepatr / affordance

The code repository for the Affordance++ master thesis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

affordance

The code repository for the Affordance++ master thesis

Install instructions

  1. opening up a virtual env for python (3.4) virtualenv -p /usr/bin/python3.4 <path/to/new/virtualenv/>

  2. pip install -r requirements.txt

  3. git clone https://github.com/rpavlik/vrpn.git make the main C library (cmake, make)

  4. ccmake with te follwoing command: ccmake ../ -DPYTHON_LIBRARIES=/Library/Frameworks/Python.framework/Versions/3.4/lib/libpython3.4m.dylib -DPYTHON_INCLUDE_PATH=/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4m -DPYTHON_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m or ccmake ../ -DPYTHON_LIBRARIES=/Library/Frameworks/Python.framework/Versions/3.4/lib/libpython3.4m.dylib -DPYTHON_INCLUDE_PATH=/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -DPYTHON_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m

and then make

  1. cd into ../python and edit GNUMakefile and uncommet #mac unversal and #python 3.4 and then make make install copy manually the universal(or whatever build name)/vrpn.so to your libs place, for instance venv/lib/Python/site-packages

  2. install mondodb

mongod --dbpath mongodata/

  1. Install Unity

Should run.

use coffee -j compiled.js -cwo www/static/js www/static/coffee/ for coffee compiling

About

The code repository for the Affordance++ master thesis

License:MIT License


Languages

Language:Python 34.6%Language:C# 32.9%Language:CoffeeScript 12.4%Language:JavaScript 9.0%Language:CSS 8.6%Language:Arduino 2.6%