Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = { ... }
- local LOCATE_TIMEOUT = 5
- function navigate(x, y, z)
- -- primitive at first
- local currentX, currentY, currentZ = gps.locate(LOCATE_TIMEOUT)
- print(currentX, currentY, currentZ)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement