Skip to content

Instantly share code, notes, and snippets.

@hephaestus9
Created February 7, 2015 16:14
Show Gist options
  • Save hephaestus9/905910819e97994cb578 to your computer and use it in GitHub Desktop.
Save hephaestus9/905910819e97994cb578 to your computer and use it in GitHub Desktop.
Setup to run ROV.py
For this program I highly recommend the use of 'Guake', additionally for proper display I recommend Opera beta on a 64bit ubuntu install
http://www.opera.com/computer/beta
sudo apt-get install guake
start guake press F12 for terminal window
sudo apt-get install build-essential python-dev python-setuptools python-pip
sudo pip install flask
sudo pip install flask-socketio
sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose python-pygame
sudo nautilus
you will need to copy the 'apscheduler' folder from 'download directory'/ROV/rovLib to /usr/lib/python2.7/dist-packages
(alternately from python type "import site; site.getsitepackages()" and past folder in one of the directories listed)
right click on the 'apscheduler' folder in the dist-packages directory
click 'Properties'
click 'Permissions' tab
make the settings match the following
Owner: Me
Access: Create and delete files
Group: root
Access: Access files <----Important
Others:
Access: Access files <----Important
click 'Change Permissions for Enclosed Files...'
make sure the settings match the following
Files Folders
Owner: Read and write Create and delete files
Group: Read-only Access files
Others Read-only Access files
click 'Change'
click 'Close'
cd 'download directory'/ROV
python ROV.py
direct opera beta browser to 0.0.0.0:7000
Here you should see the cockpit. If you have not ssh'd into the ROV and run the program there then the artificial horizon will show Nan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment