mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: add set_target_location method
This commit is contained in:
parent
fc0d845b6c
commit
6f5d733ba9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue