AC_WPNav: Fix Bug to use WPNAV_ACCEL_C

This commit is contained in:
Leonard Hall 2023-01-27 22:28:26 +10:30 committed by Randy Mackay
parent 59bd27519a
commit be7d550d5e
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public:
float get_wp_acceleration() const { return (is_positive(_wp_accel_cmss)) ? _wp_accel_cmss : WPNAV_ACCELERATION; }
/// get_wp_acceleration - returns acceleration in cm/s/s during missions
float get_corner_acceleration() const { return (is_positive(_wp_accel_c_cmss)) ? _wp_accel_cmss : get_wp_acceleration(); }
float get_corner_acceleration() const { return (is_positive(_wp_accel_c_cmss)) ? _wp_accel_c_cmss : get_wp_acceleration(); }
/// get_wp_destination waypoint using position vector
/// x,y are distance from ekf origin in cm