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

GPS problems

Started by gril002, 18 April 2016 - 04:47 PM
gril002 #1
Posted 18 April 2016 - 06:47 PM
So I am making a "compass" which tells you which way to go based on the GPS coordinates. So as seen in the picture the first three numbers are X,Y and Z directly from the gps function. and the last two are the (X, Z) number of blocks that you have to walk to get to your destination in this case X = 20, Z = 80. Now as you can see the coordinates are horribly missmatching so am I doing something wrong? In the other picture you can see my GPS computer settup.

http://imgur.com/a/baKid
Lupus590 #2
Posted 18 April 2016 - 08:50 PM
have you tried a GPS set-up like this one? http://i.imgur.com/2P3XL.jpg

Otherwise we will need to see the code to your program
Edited on 18 April 2016 - 06:50 PM
Bomb Bloke #3
Posted 19 April 2016 - 12:32 AM
Re the shape of your cluster, the one in the tutorial image is definitely better. The layout you're currently using will lead to ambiguous readings when you attempt triangulation via gps.locate(), as your computers are sharing too many axes.
Lyqyd #4
Posted 19 April 2016 - 02:38 AM
The tutorial image still needs one computer shifted up or down one block, though.
gril002 #5
Posted 19 April 2016 - 05:54 PM
That fixed it. The Y is still 2 too big but I don't need it any way so thanks