AP_Vehicle: added get_target_location() method

for scripting
This commit is contained in:
Andrew Tridgell 2020-03-06 21:10:51 +11:00
parent be7e142888
commit d192544107

View File

@ -166,6 +166,9 @@ public:
// set target location (for use by scripting)
virtual bool set_target_location(const Location& target_loc) { return false; }
// get target location (for use by scripting)
virtual bool get_target_location(Location& target_loc) { return false; }
protected:
virtual void init_ardupilot() = 0;