Skip to main content

Module track

Module track 

Source
Expand description

Position relative to a route leg: cross-track error and along-track distance.

This is what drives the steering display and the “waypoint reached” decision, so the sign conventions here are load-bearing and stated explicitly on every field.

Structs§

TrackError
Where a vessel sits relative to the leg from -> to.

Functions§

track_error
Cross-track and along-track distance of vessel relative to the great circle leg from from to to.