@ -257,6 +257,7 @@ int climb_rate; // m/s * 100 - For future implementation of controlled a
@@ -257,6 +257,7 @@ int climb_rate; // m/s * 100 - For future implementation of controlled a
float nav_gain_scaler = 1; // Gain scaling for headwind/tailwind TODO: why does this variable need to be initialized to 1?
int last_ground_speed; // used to dampen navigation
byte wp_control; // used to control - navgation or loiter
byte command_must_index; // current command memory location
byte command_may_index; // current command memory location
@ -327,9 +328,6 @@ byte yaw_tracking = TRACK_NONE; // no tracking, point at next wp, or at a tar
@@ -327,9 +328,6 @@ byte yaw_tracking = TRACK_NONE; // no tracking, point at next wp, or at a tar
// Loiter management
// -----------------
long saved_target_bearing; // deg * 100
//int loiter_total; // deg : how many times to loiter * 360
//int loiter_delta; // deg : how far we just turned
//int loiter_sum; // deg : how far we have turned around a waypoint
long loiter_time; // millis : when we started LOITER mode
long loiter_time_max; // millis : how long to stay in LOITER mode