AC_WPNav: add getter for wp_radius_cm

This commit is contained in:
Iampete1 2021-08-30 19:24:58 +01:00 committed by Andrew Tridgell
parent 0a41cdaa24
commit 7ec7b478f0
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,8 @@ public:
return get_wp_distance_to_destination() < _wp_radius_cm;
}
float get_wp_radius_cm() const { return _wp_radius_cm; }
/// update_wpnav - run the wp controller - should be called at 100hz or higher
virtual bool update_wpnav();