AC_Circle: fix references to position error

This commit is contained in:
Leonard Hall 2021-01-19 15:55:46 +09:00 committed by Randy Mackay
parent 2201450180
commit d0ab74e496
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public:
void get_closest_point_on_circle(Vector3f &result) const;
/// get horizontal distance to loiter target in cm
float get_distance_to_target() const { return _pos_control.get_distance_to_target(); }
float get_distance_to_target() const { return _pos_control.get_pos_error_xy(); }
/// get bearing to target in centi-degrees
int32_t get_bearing_to_target() const { return _pos_control.get_bearing_to_target(); }