Skip to content

SailBOT autonomous navigational code written in Python.

Notifications You must be signed in to change notification settings

james-simon/sailbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

SailBOT autonomous navigational code written in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.1%
  • CSS 24.6%
  • JavaScript 22.2%
  • Shell 0.1%