Cornell Autonomous Underwater Vehicle Project Team Open Source Software
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.zsh_comp Update 02/01/18 Feb 1, 2018
aslam Update 02/01/18 Feb 1, 2018
auv_math Update 02/01/18 Feb 1, 2018
auv_python_helpers Update 02/01/18 Feb 1, 2018
auvlog Update 02/01/18 Feb 1, 2018
build Update 02/01/18 Feb 1, 2018
can Update 02/01/18 Feb 1, 2018
cave Update 02/01/18 Feb 1, 2018
conf Update 02/01/18 Feb 1, 2018
control Update 02/01/18 Feb 1, 2018
deadman Update 02/01/18 Feb 1, 2018
deprecated Update 02/01/18 Feb 1, 2018
fishbowl Update 02/01/18 Feb 1, 2018
flamingo Update 02/01/18 Feb 1, 2018
gocode Update 02/01/18 Feb 1, 2018
hydrocode Update 02/01/18 Feb 1, 2018
install Update 02/01/18 Feb 1, 2018
lcd Update 02/01/18 Feb 1, 2018
led Update 02/01/18 Feb 1, 2018
lib Update 02/01/18 Feb 1, 2018
libshm Update 02/01/18 Feb 1, 2018
locator Update 02/01/18 Feb 1, 2018
misc Update 02/01/18 Feb 1, 2018
mission Update 02/01/18 Feb 1, 2018
object-recognition Update 02/01/18 Feb 1, 2018
open-source Update 02/01/18 Feb 1, 2018
peacock Update 02/01/18 Feb 1, 2018
pooltest Update 02/01/18 Feb 1, 2018
positiontracker3 Update 02/01/18 Feb 1, 2018
self_test Update 02/01/18 Feb 1, 2018
sensors Update 02/01/18 Feb 1, 2018
serial Update 02/01/18 Feb 1, 2018
shm_tools Update 02/01/18 Feb 1, 2018
sonard Update 02/01/18 Feb 1, 2018
system_check Update 02/01/18 Feb 1, 2018
trogdor Update 02/01/18 Feb 1, 2018
uptime Update 02/01/18 Feb 1, 2018
vehicle-scripts Update 02/01/18 Feb 1, 2018
vision Update 02/01/18 Feb 1, 2018
visualizer Update 02/01/18 Feb 1, 2018
webserver Update 02/01/18 Feb 1, 2018
worktrees Update 02/01/18 Feb 1, 2018
.gitignore Update 02/01/18 Feb 1, 2018
Dockerfile Update 02/01/18 Feb 1, 2018
LICENSE Update 02/01/18 Feb 1, 2018
README.md Update 02/01/18 Feb 1, 2018
configure.py Update 02/01/18 Feb 1, 2018
docker-helper.sh Update 02/01/18 Feb 1, 2018
shm Update 02/01/18 Feb 1, 2018

README.md

CUAUV Software

This is the repo used by the software team of Cornell University Autonomous Vehicle (CUAUV). Our website is http://cuauv.org/.

Installing and Running

Docker (environment and dependencies)

This software stack can be run via docker. The necessary dependencies are:

  1. docker (install with apt-get - see this tutorial
  2. docker-compose (install with sudo pip3)

To build the docker container run this command in the top level of this repo:

docker build . -t cuauv

You may be able to speed up first build times by using cache layers from our CI build server. To do this, you will have to first have Zander give your hub.docker.com username access to the private image, pull the image and tell Docker to use the pulled image as a cache source when building.

docker pull lezed1/cuauv && docker build . -t cuauv --cache-from lezed1/cuauv

Run the command below to then run that docker container using docker-compose in the top level of this repo. This will mount the repo into the docker container (so changes to files in the repo inside of the container and outside will be immediately reflected in the other environment) and attach a zsh shell from the container.

docker-compose up

Software Stack (configuring and running)

The built docker container will not have compiled AUV software in it. To build the software stack first configure it by running:

cs && ./configure.py

Then run ninja to build the stack by running build from any directory (build is aliased to a shell command which will run ninja with the appropriate settings).

Docker troubleshooting

Cannot connect to docker daemon?

This is because you can only connect to Docker with sudo privileges. To get around this, you can add yourself to the docker group with the instructions here