michelcandido / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

BTstack GPS: Optionally throttle the location event update #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a 10Hz GPS (and I'm looking at 20Hz)
2. Run some of the other aps
3. Watch them lag or the map moves and current location goes off screen

What is the expected output? What do you see instead?
App would keep up

What version of the product are you using? On what operating system?
It is being asked to refresh too often

Please provide any additional information below.

I don't know how hard, but it would help to have an option that would limit the 
update events to 1Hz or 2Hz (with full throttle as an option).  The pin flashes 
in the BTGPS app but it keeps up.  Something with many layers can have problems 
keeping up with a change location every 100mS.

Original issue reported on code.google.com by tz2026 on 22 Jan 2011 at 12:47

GoogleCodeExporter commented 8 years ago
Interesting observation, thanks. Can you suggest a free one that has that 
problem (my GPS only has 1 Hz, but I can fake GPS data :). Optionally limiting 
the update rate to e.g. 1 Hz isn't hard ("check time to last update, t < 1.0 s 
=> drop it). I'll add it to the list.

Original comment by matthias.ringwald@gmail.com on 22 Jan 2011 at 2:40

GoogleCodeExporter commented 8 years ago

Original comment by matthias.ringwald@gmail.com on 22 Jan 2011 at 2:54

GoogleCodeExporter commented 8 years ago
I don't have a free one, but if you can PM me I can send you one of mine to 
keep for testing (I have three wintecs and three venus chip based all doing 
10Hz).  It is a GBLOX if I remember so the config software is available by 
googling.  I'll also send a donation early next week.  Thanks again.

Original comment by tz2026 on 22 Jan 2011 at 3:22

GoogleCodeExporter commented 8 years ago
Hi. I've asked for the name of a free app that shows problem with 10 Hz updates 
:)

Original comment by matthias.ringwald@gmail.com on 22 Jan 2011 at 3:26

GoogleCodeExporter commented 8 years ago
RadarActive itself.  
http://radaractive.com/forum/showthread.php?66-iPod-iPad-howto-requires-jailbrea
k-and-help-from-our-sponsors

http://radaractive.com/forum/showthread.php?68-1998-Impreza-iPod-Touch

The latter has links to a video showing the "you are here" dot lagging.

Original comment by tz2026 on 22 Jan 2011 at 3:33

GoogleCodeExporter commented 8 years ago
Radaractive update to 1.9 and thinks an ipod with your stack is still an iPod.  
The app is  free.  Is it possible to look at it again to make it think it is on 
something with gps?

Original comment by tz2026 on 23 Jun 2011 at 11:53

GoogleCodeExporter commented 8 years ago
@tz2 The updated tweak I made in March works for Nike+ GPS, Tom Tom, and Radar 
Active (just double checked). Please replace 
/Library/MobileSubstrate/GPS-Support.dylib with this one: 
http://code.google.com/p/btstack/issues/detail?id=84#c17

sorry, the BTstack GPS update is still on hold, but I'm getting there.

Original comment by matthias.ringwald@gmail.com on 24 Jun 2011 at 6:22

GoogleCodeExporter commented 8 years ago
OK, that's weird.

I have an 8G ipod touch "3rd" (but really 2nd) generation.  Radaractive works 
on that.

On my other iPod, 32G/4thGen, deleted app, copied in the new dylib, rebooted 
(poweroff-on), reinstalled radaractive, and it says I have an iPod.

Original comment by tz2026 on 24 Jun 2011 at 7:13

GoogleCodeExporter commented 8 years ago
I've tried on latest iPod touch with 4.3.3 (OS doesn't matter)

Original comment by matthias.ringwald@gmail.com on 24 Jun 2011 at 9:25

GoogleCodeExporter commented 8 years ago
the latest 1.6 release has a switch to limit updates to 1 Hz

Original comment by matthias.ringwald@gmail.com on 29 Nov 2011 at 10:05

GoogleCodeExporter commented 8 years ago

Original comment by matthias.ringwald@gmail.com on 29 Nov 2011 at 10:09