autofly: autotp support position and waypoint
This commit is contained in:
parent
016be0eede
commit
f8be6e24e9
@ -269,6 +269,8 @@ function autofly.autotp(tpname)
|
||||
local tpos=nil
|
||||
if tpname == nil then
|
||||
tpos = autofly.get_waypoint('AUTOTP')
|
||||
elseif type(tpname) == "table" then
|
||||
tpos = tpname
|
||||
else
|
||||
tpos=autofly.get_waypoint(tpname)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user