Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.67 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.67 KB

SailBOT

Introduction

SailBOT is a competition to build and program an autonomous sailing robot capable of navigating obstacles in a dynamic, real-world sailing environment. The robot uses on-board sensor input to effectively sail towards marked latitude and longitude coordinate locations and avoid obstacles.

The majority of code for SailBOT is written in Python due to vast library support. All code is designed to run on the boat on a Raspberry Pi. As such, the code also utilizes the Tornado web server API to host a landing page containing a map view of the boat's location and real-time stats of the boat as read-in by sensors and sent through a web socket. Ideally, this is the primary way of interfacing / communicating with the boat.

The goal of the project is to build upon the SailBOT foundation laid in previous years. It should be extensible, modular, verbose, and minimalistic.

Dependencies & Installation

Dependencies The boat uses the Tornado web server API to create a web server. This can either be installed on the device to deploy the code by running:

pip install tornado

or manually downloading the API, extracting it, and running setup.py:

tar xvzf tornado.tar.gz
cd tornado
python setup.py build
sudo python setup.py install

Deployment Download the most recent build, navigate to the host directory, copy the build over, and launch the main file main.py:

scp ~/Desktop/build.tar.gz pi@raspberrypi:~/Desktop/build.tar.gz
cd ~/Desktop
tar xvzf build.tar.gz
sudo python build/main.py