Advertisement
poboivin

GetPos

Oct 3rd, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. cx,cy,cz = gps.locate(1,false)
  2. sleep(0.2) -- make sure gps gets signal (i think)
  3. --print("I am at "..cx..":x "..cy..":y "..cz..":z")
  4. return cx,cy,cz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement