mirror of https://github.com/ArduPilot/ardupilot
AC_WPNav: remove unused variable _last_update
This commit is contained in:
parent
6f200cdc3d
commit
c664eec93b
|
@ -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),
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue