AR_WPNav: add oa_wp_bearing_cd function

This commit is contained in:
Peter Hall 2019-08-23 11:49:06 +01:00 committed by Randy Mackay
parent c445362fae
commit db87285153

View File

@ -66,6 +66,9 @@ public:
float nav_bearing_cd() const { return _desired_heading_cd; }
float crosstrack_error() const { return _cross_track_error; }
// return the heading (in centi-degrees) to the next waypoint accounting for OA, (used by sailboats)
float oa_wp_bearing_cd() const { return _oa_wp_bearing_cd; }
// settor to allow vehicle code to provide turn related param values to this library (should be updated regularly)
void set_turn_params(float turn_max_g, float turn_radius, bool pivot_possible);