You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
local drone = component.proxy(component.list("drone")())
|
|
|
|
local function fly(dx, dy, dz)
|
|
drone.move(dx, dy, dz)
|
|
|
|
while drone.getOffset() > 1 do
|
|
computer.pullSignal(0.1)
|
|
end
|
|
end
|
|
while true do
|
|
fly(0,2,0)
|
|
fly(10,0,0)
|
|
fly(-10,0,0)
|
|
fly(0,-2,0)
|
|
end
|