AC_WPNav: remove unused variable _last_update

This commit is contained in:
Peter Barker 2016-10-20 12:24:28 +11:00 committed by Lucas De Marchi
parent 6f200cdc3d
commit c664eec93b
2 changed files with 0 additions and 2 deletions

View File

@ -35,7 +35,6 @@ AC_Circle::AC_Circle(const AP_InertialNav& inav, const AP_AHRS& ahrs, AC_PosCont
_inav(inav),
_ahrs(ahrs),
_pos_control(pos_control),
_last_update(0),
_yaw(0.0f),
_angle(0.0f),
_angle_total(0.0f),

View File

@ -91,7 +91,6 @@ private:
AP_Float _rate; // rotation speed in deg/sec
// internal variables
uint32_t _last_update; // time of last update_loiter call
Vector3f _center; // center of circle in cm from home
float _yaw; // yaw heading (normally towards circle center)
float _angle; // current angular position around circle in radians (0=directly north of the center of the circle)