sprhawk / btstack

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

GPS: Speed/Course varies too much/is jumpy #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have the complete version of BTStack GPS and it connect with my external
GPS receiver but when I open TOmTOm it doesn't work...

Original issue reported on code.google.com by mmarinde...@gmail.com on 12 May 2010 at 7:49

GoogleCodeExporter commented 9 years ago
Thanks for your purchase. We have received other complains about TomTom not 
working
and will try to fix it very soon.

Best 
Matthias Ringwald

Original comment by matthias.ringwald@gmail.com on 12 May 2010 at 3:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Good news. Setting the speed property in the GPS location updates makes TomTom 
happy.
I hope to release an update to day. Will do more tests before.

Original comment by matthias.ringwald@gmail.com on 16 May 2010 at 8:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
hi all. next step. It looks like TomTom and some other apps expect the course 
value
of the location data to be set, too. I wrote a little test app that would 
generate
location data for driving around my block. After also calculating the course, 
TomTom
did drive in the correct direction and also managed corners properly. I'll 
finalize
this in the next days. Getting close!

Original comment by matthias.ringwald@gmail.com on 17 May 2010 at 7:38

GoogleCodeExporter commented 9 years ago
Can all that had this issue before please try again with BTstack GPS 1.2. I have
multiple positive reports of TomTom (and all other software) working now.

Original comment by matthias.ringwald@gmail.com on 20 May 2010 at 7:52

GoogleCodeExporter commented 9 years ago
TomTom is working fine now. All I can complaint is about 'bad GPS signal' 
message 
appearing at some times and greying the screen for a second. This is less 
frequent
when disabling iPhone 3GS internal GPS

Original comment by DeXt...@gmail.com on 20 May 2010 at 11:14

GoogleCodeExporter commented 9 years ago
Hi. I tested version 1.2 on Ipod Touch. With TomTom I have the same problem than
Dexter. TomTom seems to loose signal shortly every few seconds. I also tested 
with
Navigon and it works correctly. Thanks for the good work.

Original comment by vmelcken...@gmail.com on 21 May 2010 at 7:33

GoogleCodeExporter commented 9 years ago
The "Connect GPS" appears when the GPS looses it's fixes temporarily. I did not 
know
how to handle that case and was telling the app that the GPS disappeared. I 
intend to
change that to sending an invalid location - TomTom should then just ignore the 
GPS
for a few seconds without graying the screen. 

Original comment by matthias.ringwald@gmail.com on 21 May 2010 at 7:36

GoogleCodeExporter commented 9 years ago
Hi Matthias,
Indeed it should be nice if the the GPS could not loose contact, but as long 
the car
is moving it is not disturbing.
But I have a question. I also use the ipod bluetooth for my BT-headphone. On my 
bike
it would be nice to use both, GPS and headset.
Do you think it is possible to combine those functions?

Thanks Jelle

Original comment by jelledek...@gmail.com on 25 May 2010 at 4:25

GoogleCodeExporter commented 9 years ago
I'll try to hide the fact that the GPS temporarily looses it fix (that's 
normal) instead of telling the app that the GPS 
is gone.

The use of Apple BT and BTstack at the same time is not possible, as there is a 
single BT module which can be 
controlled only by one Bluetooth Stack. To use BT headphones and GPS in 
parallel either requires patching Apple 
BT to allow for GPS (tough hacking & not sustainable) or the implementation of 
BT Headset support on top of 
BTstack, which is possible but I don't know of anybody working on that.   :(

Original comment by matthias.ringwald@gmail.com on 26 May 2010 at 10:13

GoogleCodeExporter commented 9 years ago
Hi. This will be a great program. It looks like you are 
supporting it very well. I still have the demo since I wanted to 
see if it worked with my PalmOne BT GPS. The device is 
recognized and gets connected but in the next screen it 
shows "Fix: Invalid" and doesn't show GPS coordinates. Can 
you tell me what it wrong? Bad Device or Unsupported 
Device?
Thanks!

Original comment by rickin...@gmail.com on 26 May 2010 at 11:04

GoogleCodeExporter commented 9 years ago
Sorry. It took about 5 minutes to get a Fix. Now says 3D. That's good, right? 
Haha. I'll be buying a 
license today!

Original comment by rickin...@gmail.com on 26 May 2010 at 11:09

GoogleCodeExporter commented 9 years ago
right. Getting GPS fix can take time. Glad it works.

Original comment by matthias.ringwald@gmail.com on 26 May 2010 at 11:11

GoogleCodeExporter commented 9 years ago
I have the GPS working, but the speed constantly jumps around. Have you seen 
this 
issue? 

Original comment by mthornto...@gmail.com on 27 May 2010 at 8:22

GoogleCodeExporter commented 9 years ago
I am having the same problem with Navigon.  As I am driving around the speed 
goes from 55 to 118 to 0 and so 
on.  It just displays random speeds and the map kind of jumps around.  Thanks

Original comment by mattops...@gmail.com on 28 May 2010 at 12:54

GoogleCodeExporter commented 9 years ago
Hi. I've modified BTstack GPS to ignore temporary losses of GPS fix and also 
improved
the course & speed calculation. I was driving yesterday and it's much better 
than in
on of the videos posted on the net. The reported speed is still a bit flaky 
although
driving with cruise control. I'll fix that the next days for the upcoming 1.3.
version. Stay tuned, I'm on it!

Original comment by matthias.ringwald@gmail.com on 31 May 2010 at 8:28

GoogleCodeExporter commented 9 years ago
Hi. Please try the new BTstack GPS 1.3 update from Cydia. It improves the speed 
and course calculation 
(for me at least :) and report back. Matthias

Original comment by matthias.ringwald@gmail.com on 1 Jun 2010 at 8:38

GoogleCodeExporter commented 9 years ago
It seems to be working much better.  Thanks for the updates and I'll let you 
know if there are any more issues.

Original comment by mattops...@gmail.com on 2 Jun 2010 at 1:59

GoogleCodeExporter commented 9 years ago
I updated TT to 1.3 this morning, and am now getting a new alert that scrolls 
constantly across the top of the screen "Connect to GPS".  This did not happen 
previously with TT 1.0

The routing and tracking seem fine, it's just that constant scrolling that gets 
annoying.

I am using GTstack GPS 1.4 on iTouch 2G.

Original comment by mikeb...@gmail.com on 29 Jun 2010 at 3:33

GoogleCodeExporter commented 9 years ago
@mikebock what's "TT"? TomTom? Did you update to iOS 4? BTstack GPS adds the 
"gps" capability on devices that miss it like the iPod touch. Please re-try 
after a reboot (to make sure "gps" capability was added).

If the scrolling alert is wasn't there in older version, and you get it after a 
reboot it looks like TomTom in 1.3 now insists on their own external GPS on 
iPod devices instead of checking the "gps" capability. In this case, first 
complain at TomTom's customer support. If this doesn't help, it would require a 
patch to get rid of their check, which won't be fun. Please let me know, what 
you can figure out.

Original comment by matthias.ringwald@gmail.com on 29 Jun 2010 at 7:23

GoogleCodeExporter commented 9 years ago
Hi Matthias, I just bought license for the BTstack GPS, it works great with my 
Holux M-1000 except one annoyance: when the car is stationary, the orientation 
in the 3D view of the Tom Tom 1.3 sometimes jerks to the left/right momentarily 
then returns to the correct orientation. What do you think could be the problem?

Besides that, can this hack work with Papago GPS navigation app? 

I'm using BTstack GPS 1.3 on iOS3.0 on ipod touch 2G

Thanks!

Original comment by winstont...@gmail.com on 30 Jun 2010 at 12:41

GoogleCodeExporter commented 9 years ago
Thanks for the reply Matthias.

Yes, TT is Tomtom, and no I haven't updated to iOS4 yet.  

Note that this worked fine on my jailboken 3.12 2G itouch and Tomtom 1.0; it 
just started when I updated to Tomtom v1.3.

Now, I can't really complain to Tomtom since I have an unsupported device: 
jailbroken itouch and PalmOne GPS.  ;)

In researching, it looks like roqy is having a similar problem and is looking 
to resolve too.

Original comment by mikeb...@gmail.com on 30 Jun 2010 at 6:18

GoogleCodeExporter commented 9 years ago
@winstontanjohan @mikebock looks like you have the same setup (iPod touch) and 
TomTom 1.3 but you have different levels of success. can you try to figure out 
what's different between you two? I can only comment that TomTom 1.2 runs well 
on iPad. :)
If it's related to TomTom, I had a quick look at the 1.2 version and that 
looked like one could try to nudge it easily into the believe that there is a 
GPS (as long as "they" don't actively try not to get nudged :) )

Original comment by matthias.ringwald@gmail.com on 30 Jun 2010 at 6:25

GoogleCodeExporter commented 9 years ago
Some differences between mine and winstontanjonhan:
Me BTstack 1.4 him: 1.3
Me PalmOne GPS him: Holux M-1000

Questions for winstontanjonhan:
which exact version of apple os are you using, 3.12, 3.13, or other?
how much memory is your ipod touch 2G? 8, 16, 32G?

Original comment by mikeb...@gmail.com on 30 Jun 2010 at 10:51

GoogleCodeExporter commented 9 years ago
@mikebock

I'm using iOS3.0 for iPod Touch 2G with 8GB of memory. 

Original comment by winstont...@gmail.com on 1 Jul 2010 at 3:06

GoogleCodeExporter commented 9 years ago
ok, that is another difference, as I'm on 2G 3.12 with 32G.
So not sure if you'll be able to figure that one out matthias since we have 
several differences to work with.
Thanks for any help.

Original comment by mikeb...@gmail.com on 1 Jul 2010 at 1:03

GoogleCodeExporter commented 9 years ago
I don't have that issue with Navigon on my ipod touch 2G and 3.13.  FWIW, it 
looks like roqyBT solved the problem with TomTom 1.3 and the 2G.

Original comment by mejohnli...@gmail.com on 1 Jul 2010 at 8:38

GoogleCodeExporter commented 9 years ago
Ok. I'll try to figure out what TomTom doesn't like about your iPod touch. I 
only have iPhone 3G and iPad Wifi. The iPad Wifi also doens't have build-in GPS.

Original comment by matthias.ringwald@gmail.com on 2 Jul 2010 at 3:26

GoogleCodeExporter commented 9 years ago
FWIW, I paid $5 for the CoPiot application and it has even worse problems with 
my setup.  It finds the GPS, but at some point in the driving, it looses it and 
puts up the message "Determing Current Location" and then never finds it.  I 
exit out of CoPilot, go into BTStack, which seems to still be able to see the 
GPS receiver.  I then disconnect GPS, reconnect, start up Copilot again, and 
then it is good again (until the next time it loses it while driving).  Could 
it be that the GPS is putting out a weak signal that BTstack is not handling 
well, or sending bad data when the GPS loses a signal, or something like that?  
Does that even make sense?

Original comment by mikeb...@gmail.com on 2 Jul 2010 at 8:38

GoogleCodeExporter commented 9 years ago
Is there any capture utility I can use to send you the output of my gps 
receiver to see if it's sending weak or poor data?  That might help you in the 
troubleshooting, but I don't know how to do it or what would be useful to you.

Original comment by mikeb...@gmail.com on 3 Jul 2010 at 2:07

GoogleCodeExporter commented 9 years ago
@mikebock yes. there is. please send the file /tmp/hci_dump.pklg via the 
command line or using iFile from Cydia. 

In general, BTstack GPS stops sending GPS location if it doesn't get valid 
locations from the GPS. What does BTstack GPS says for Fix: when CoPilot looses 
the fix?

Original comment by matthias.ringwald@gmail.com on 3 Jul 2010 at 3:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here is that file as it is now.  I have not used the gps this morning, so don't 
know if this is a history log of activity (I used it frequently yesterday), or 
if you need me to capture while it's having problems.

Original comment by mikeb...@gmail.com on 3 Jul 2010 at 4:45

Attachments:

GoogleCodeExporter commented 9 years ago
Here are some steps to help explain better:

1. Start up BTStack and get fix.
2. Open up Copilot and it finds gps and I begin driving.
3. Some period of time later the message comes up "Determing current position" 
meaning no gps fix.
4. Exit out of Copilot and bring up Tomtom 1.3. 
5. Tomtom finds the gps, finds a fix, and everything seems normal except for 
the flashing message "Connect to GPS".  TOmtom seems to be fully functional 
though.
6. Exit out of Tomtom and go back to Copilot.  Copilot still displays 
"Determining current position" so still cannot find gps fix.
7. Exit out of Copilot and bring up BTStack.
8.  BTstack still shows fix and everything looks fine.  Disconnect anyway.  
Reconnect to PalmOne GPS.
9.  Go back to Copilot and it finds the gps fix this time.

So I conclude that the fix is still accurate coming from BTStack otherwise TT 
would not work properly.  But TT still sees something odd as it continues to 
scroll the "Connect to GPS" message.

Also, at one time, Tomtom reported a message when first started like "Poor GPS 
reception" or something similar.  I can't get it to do that again, as it won't 
display that.  Only the "Connect to GPS" message.

Original comment by mikeb...@gmail.com on 3 Jul 2010 at 5:09

GoogleCodeExporter commented 9 years ago
And the latest file from just now when trying to recreate the Tomtom steps 
above.

Original comment by mikeb...@gmail.com on 3 Jul 2010 at 5:12

Attachments:

GoogleCodeExporter commented 9 years ago
Ok. back to the TomTom issue for iPod touch users. I've purchased TomTom 1.4 
and snooped around its innards a bit. I think I have a working patch, but I 
cannot test without an iPod touch, my iPad Wifi does not give me a "Connect to 
GPS" message.

To test, please delete GPS-Support.dylib in 
/Library/MobileSubstrate/DynamicLibraries and replace it with the attached one. 
Does it make TomTom happy? :)

Original comment by matthias.ringwald@gmail.com on 4 Jul 2010 at 11:29

Attachments:

GoogleCodeExporter commented 9 years ago
No, getting the same results.  I tried twice, and rebooted the itouch, but 
still getting "connect to gps".

Original comment by mikeb...@gmail.com on 4 Jul 2010 at 2:57

GoogleCodeExporter commented 9 years ago
@mikebock you get "connect to gps" although BTstack GPS says "Fix: 3D"? 

Original comment by matthias.ringwald@gmail.com on 4 Jul 2010 at 3:01

GoogleCodeExporter commented 9 years ago
Yes, that's correct I have a 3D fix with 5 satellites.

Original comment by mikeb...@gmail.com on 4 Jul 2010 at 3:25

GoogleCodeExporter commented 9 years ago
Note again that even though TT says "Connect to GPS" it sees a gps and 
continues to follow me as I drive.  So it's not a complete loss of signal but 
maybe not a strong signal, if that's possible.

Original comment by mikeb...@gmail.com on 4 Jul 2010 at 4:26

GoogleCodeExporter commented 9 years ago
I've replaced the file GPS-Support with yours and I'm still getting the same 
"connect to gps". Mine has a 3D fix with 6 sats. 

Original comment by winstont...@gmail.com on 5 Jul 2010 at 4:06