Skip to content
Project of group #1 (pour_it) for System Design Project 2017/18.
Python Jupyter Notebook Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
graphics
logo
src
.gitignore
.travis.yml
LICENSE
README.md
__init__.py
bottle.pdf
bottle.png
install_dependencies.sh
pi_start_servers.sh
requirements.txt
setup.sh
ssh_to_rpi_over_usb.md
ssh_to_rpi_over_usb_alternative.md
unittests.py

README.md

pour_it logo





Build Status

pour_it – Group #1, System Design Project 2017/2018

Python Ev3 documentation

Sensor information

Virtual environment setup

Always use virtual environment to ensure we all use the same Python version (Python 3), packages, etc.

To set up the virtual environment:

./setup.sh

From now on just activate the environment using source bin/activate and deactivate using deactivate.

Use pip3 install pkgname to install new packages. Remember to update requirements.txt, preferably by running:

pip3 freeze > requirements.txt

and ensure (probably applies to Ubuntu users only) that requirements.txt does not contain the flawed pkg-resources==0.0.0 dependency (remove the line if necessary).

DEV vs TEST environments

In order to be able to test the code without being connected to the brick, we have the TEST environment which does not use the true ev3dev libraries but replaces them by an abstraction obtained here (infinite thanks to Timon Reinold!).

More info on how to run the code in the two environments will follow soon.

Authors: Andrew, Bob, Jonas, Max, Mihai, Michael, Sam

You can’t perform that action at this time.