nav_algo.navigation module¶
-
class
nav_algo.navigation.NavigationController(event=None, waypoints=[])¶ Bases:
objectA controller class for the navigation algorithm.
- Parameters
waypoints (list of (float, float)) – A list of (latitude, longitude) tuples of waypoints.
-
DETECTION_RADIUS¶ How close we need to get to a waypoint.
- Type
float
-
coordinate_system¶ The global coordinate system.
- Type
-
waypoints¶ Position vectors of waypoints.
- Type
list of Vector
-
boat¶ A representation of the boat.
- Type
-
navigate()¶ Execute the navigation algorithm.
This is a blocking call that runs until all waypoints have been hit.
-
navigateDetection(event=<Events.COLLISION_AVOIDANCE: 4>)¶