Jump to content




GPS problems


  • You cannot reply to this topic
4 replies to this topic

#1 gril002

  • Members
  • 38 posts

Posted 18 April 2016 - 05: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

#2 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 18 April 2016 - 07: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 by Lupus590, 18 April 2016 - 07:50 PM.


#3 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 18 April 2016 - 11:32 PM

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.

#4 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 19 April 2016 - 01:38 AM

The tutorial image still needs one computer shifted up or down one block, though.

#5 gril002

  • Members
  • 38 posts

Posted 19 April 2016 - 04:54 PM

That fixed it. The Y is still 2 too big but I don't need it any way so thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users