From ccf06f66f76453571cfab01eb2f4784125791d77 Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Wed, 12 May 2021 13:26:09 +0900 Subject: [PATCH] AC_WPNav: integrate AC_PosControl::get_roll_cd rename --- libraries/AC_WPNav/AC_WPNav.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AC_WPNav/AC_WPNav.h b/libraries/AC_WPNav/AC_WPNav.h index a4f57fa7b6..419eb0b84e 100644 --- a/libraries/AC_WPNav/AC_WPNav.h +++ b/libraries/AC_WPNav/AC_WPNav.h @@ -192,8 +192,8 @@ public: /// /// get desired roll, pitch which should be fed into stabilize controllers - float get_roll() const { return _pos_control.get_roll(); } - float get_pitch() const { return _pos_control.get_pitch(); } + float get_roll() const { return _pos_control.get_roll_cd(); } + float get_pitch() const { return _pos_control.get_pitch_cd(); } Vector3f get_thrust_vector() const { return _pos_control.get_thrust_vector(); } /// advance_wp_target_along_track - move target location along track from origin to destination