Skip to main content

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

Project description

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

Python module for writing boatd behavior scripts.

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.

Source Distribution

boatd_client-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file boatd_client-0.1.1.tar.gz.

File metadata

  • Download URL: boatd_client-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for boatd_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4433e6e092c86f7d2e0a45980309235f1b9a40835e0e23b32b5d7b7f45d85808
MD5 c0552c3865819b62ddf7dedeb581f529
BLAKE2b-256 e8961ce73e3f71c508d4f8cf98f02a669f7ef8b5e40b5d6c9d652cde700e0635

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page