AP_Vehicle: add set_target_location method

This commit is contained in:
Randy Mackay 2020-02-18 13:10:56 +09:00 committed by WickedShell
parent fc0d845b6c
commit 6f5d733ba9
1 changed files with 3 additions and 0 deletions

View File

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