Skip to content

Commit

Permalink
AP_Navigation: Add a loiter radius interface
Browse files Browse the repository at this point in the history
  • Loading branch information
WickedShell authored and tridge committed Apr 5, 2017
1 parent 336b4a6 commit 2ac32ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_Navigation/AP_Navigation.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ class AP_Navigation {
// mission when approaching a waypoint
virtual float turn_distance(float wp_radius, float turn_angle) const = 0;

// return the target loiter radius for the current location that
// will not cause excessive airframe loading
virtual float loiter_radius(const float radius) const = 0;

// update the internal state of the navigation controller, given
// the previous and next waypoints. This is the step function for
// navigation control for path following between two points. This
Expand Down

0 comments on commit 2ac32ad

Please sign in to comment.