6 lines of lua code
function update()
if (arming:is_armed() == false) then
vehicle:set_mode(5) -- Loiter, but you can set your bootup mode here
end
end
return update, 1000
6 lines of lua code
function update()
if (arming:is_armed() == false) then
vehicle:set_mode(5) -- Loiter, but you can set your bootup mode here
end
end
return update, 1000