This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
protexxi's profile picture

Gps newbie question

Started by protexxi, 30 October 2012 - 03:36 PM
protexxi #1
Posted 30 October 2012 - 04:36 PM
hello im trying out gps i have a tower working and gps locate works how ever gps.locate(10 , "error")
can not fond location why? also i would like to know how can i set x,y,z to a string so i can go my goto command like this

goto pos
and pos will = x,y,z?
KaoS #2
Posted 30 October 2012 - 05:16 PM
what do you mean gps tower? you need a PC on all 3 axis for it to work. take a look here
protexxi #3
Posted 30 October 2012 - 05:26 PM
by gps tower i mean the host computers
KaoS #4
Posted 30 October 2012 - 05:41 PM
did you take a look at the tutorial?
protexxi #5
Posted 30 October 2012 - 06:12 PM
i already have host setup
ChunLing #6
Posted 30 October 2012 - 06:23 PM
How many GPS servers are in your tower? What are the relative positions in x, y, z of the servers in your tower? Does gps locate (the program and command line parameter, not the function) work?
protexxi #7
Posted 30 October 2012 - 06:41 PM
it works form command line gps locate but fails on lua i have 4 pcs on the tower
Doyle3694 #8
Posted 30 October 2012 - 06:45 PM
why are you giving the debug slot, which wants a boolean a string?
ChunLing #9
Posted 30 October 2012 - 07:18 PM
That is a point. You want true, false, or nil there.