nav_algo.navigation module

Bases: object

A controller class for the navigation algorithm.

Parameters

waypoints (list of (float, float)) – A list of (latitude, longitude) tuples of waypoints.

How close we need to get to a waypoint.

Type

float

The global coordinate system.

Type

CoordinateSystem

Position vectors of waypoints.

Type

list of Vector

A representation of the boat.

Type

BoatController

Prints navigation data to the base station.

Type

Radio

The current target waypoint.

Type

Vector

The current position of the boat.

Type

Vector

The vector from the boat to the target position.

Type

Vector

Execute the navigation algorithm.

This is a blocking call that runs until all waypoints have been hit.