mirror of https://github.com/ArduPilot/ardupilot
AC_Circle: fix references to position error
This commit is contained in:
parent
2201450180
commit
d0ab74e496
|
@ -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(); }
|
||||
|
|
Loading…
Reference in New Issue