Browse Source

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

c415-sdk
Pierre Kancir 4 years ago committed by Tom Pittenger
parent
commit
1fdef751ad
  1. 2
      libraries/AP_Navigation/AP_Navigation.h

2
libraries/AP_Navigation/AP_Navigation.h

@ -44,7 +44,7 @@ public: @@ -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…
Cancel
Save