mirror of https://github.com/ArduPilot/ardupilot
AP_Navigation: make crosstrack_error_integrator pure virtual as nobody use the base class
This commit is contained in:
parent
e77512ba08
commit
1fdef751ad
|
@ -44,7 +44,7 @@ public:
|
|||
// return the crosstrack error in meters. This is the distance in
|
||||
// the X-Y plane that we are off the desired track
|
||||
virtual float crosstrack_error(void) const = 0;
|
||||
virtual float crosstrack_error_integrator(void) const { return 0; }
|
||||
virtual float crosstrack_error_integrator(void) const = 0;
|
||||
|
||||
// return the distance in meters at which a turn should commence
|
||||
// to allow the vehicle to neatly move to the next track in the
|
||||
|
|
Loading…
Reference in New Issue