diff --git a/libraries/AP_Vehicle/AP_Vehicle.h b/libraries/AP_Vehicle/AP_Vehicle.h index fa9dc2f181..d256435d7a 100644 --- a/libraries/AP_Vehicle/AP_Vehicle.h +++ b/libraries/AP_Vehicle/AP_Vehicle.h @@ -161,6 +161,9 @@ public: return AP_HAL::millis() - _last_flying_ms; } + // set target location (for use by scripting) + virtual bool set_target_location(const Location& target_loc) { return false; } + protected: virtual void init_ardupilot() = 0;