From 1fdef751ad90769ed13cc2aa8c8f00ffb17de90a Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Fri, 11 Jun 2021 12:50:42 +0200 Subject: [PATCH] AP_Navigation: make crosstrack_error_integrator pure virtual as nobody use the base class --- libraries/AP_Navigation/AP_Navigation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Navigation/AP_Navigation.h b/libraries/AP_Navigation/AP_Navigation.h index 3e6c7679c9..8423e627f2 100644 --- a/libraries/AP_Navigation/AP_Navigation.h +++ b/libraries/AP_Navigation/AP_Navigation.h @@ -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