Jump to content




Anway to make GPS faster?


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

#1 Kenzo

  • Members
  • 18 posts

Posted 28 March 2016 - 08:04 PM

like the title says, is there anyway to make the gps faster to respond? because it has a delay.

#2 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 28 March 2016 - 08:35 PM

The gps.locate method takes a timeout parameter:

local x, y, z = gps.locate(1) -- 1 second instead

Be warned: If you make it too small not all modems may respond in time

#3 Anavrins

  • Members
  • 775 posts

Posted 28 March 2016 - 09:08 PM

gps.locate should even return earlier than your set timeout if it receives at least 3 replies.
If you experience any noticeable delay, it may mean you set up your gps array incorrectly.

Edited by Anavrins, 28 March 2016 - 09:09 PM.


#4 Kenzo

  • Members
  • 18 posts

Posted 29 March 2016 - 07:59 PM

thanks <3





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users