Skip to main content

Python wrapper for the boatd API, used to write behavior scripts.

Project description

Latest PyPI version https://travis-ci.org/boatd/python-boatd.png?branch=master

Python module for writing boatd behavior scripts.

Installing

$ pip install boatd_client

class Boat

A boat controlled by boatd

Attributes

heading: Return the current heading of the boat in degrees

position: Return a tuple in the form (latitude, longitude)

version: Return the version of boatd

wind: Return the direction of the wind in degrees

methods

def __init__(self, host='localhost', port=2222)

Create a boat instance, connecting to boatd at host on port port

def __rudder__(self, angle)

Set the angle of the rudder to be angle degrees

def __sail__(self, angle)

Set the angle of the sail to angle degrees

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for boatd_client, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size boatd_client-0.1.5.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page