AP_Navigation: make crosstrack_error_integrator pure virtual as nobody use the base class

This commit is contained in:
Pierre Kancir 2021-06-11 12:50:42 +02:00 committed by Tom Pittenger
parent e77512ba08
commit 1fdef751ad
1 changed files with 1 additions and 1 deletions

View File

@ -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