#include<AC_PosControl.h> // Position control library
// loiter maximum velocities and accelerations
#define WPNAV_ACCELERATION 100.0f // defines the default velocity vs distant curve. maximum acceleration in cm/s/s that position controller asks for from acceleration controller
@ -40,7 +41,7 @@ class AC_WPNav
@@ -40,7 +41,7 @@ class AC_WPNav
Vector3f_pos_delta_unit;// each axis's percentage of the total track from origin to destination
float_track_length;// distance in cm between origin and destination
float_track_desired;// our desired distance along the track in cm
float_distance_to_target;// distance to loiter target
float_wp_leash_xy;// horizontal leash length in cm
float_wp_leash_z;// horizontal leash length in cm
float_limited_speed_xy_cms;// horizontal speed in cm/s used to advance the intermediate target towards the destination. used to limit extreme acceleration after passing a waypoint