AC_WPNav: move get_yaw lower in AC_WPNav.h

this is a non-functional change
This commit is contained in:
Randy Mackay 2021-06-17 19:34:26 +09:00
parent 12f569dc4f
commit a79a3d2051

View File

@ -155,10 +155,6 @@ public:
/// spline methods
///
// get target yaw in centi-degrees (used for wp and spline navigation)
float get_yaw() const { return _pos_control.get_yaw_cd(); }
float get_yaw_rate_cds() const { return _pos_control.get_yaw_rate_cds(); }
/// set_spline_destination waypoint using location class
/// returns false if conversion from location to vector from ekf origin cannot be calculated
/// next_destination should be the next segment's destination
@ -196,6 +192,10 @@ public:
float get_pitch() const { return _pos_control.get_pitch_cd(); }
Vector3f get_thrust_vector() const { return _pos_control.get_thrust_vector(); }
// get target yaw in centi-degrees
float get_yaw() const { return _pos_control.get_yaw_cd(); }
float get_yaw_rate_cds() const { return _pos_control.get_yaw_rate_cds(); }
/// advance_wp_target_along_track - move target location along track from origin to destination
bool advance_wp_target_along_track(float dt);