jimmyliu86 / btstack

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

BTStack GSP - course value missing when track is 270-360 #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using BTStack with the QSTARZ BT-Q818XT
2. Start GPS and change to a core-location-using app that shows track 
(ForeFlight Mobile)
3. Track value is missing when track value is 270-360 degrees

What is the expected output? What do you see instead?
Expect a proper value between 270-360 as is seen correctly for other track 
values.  No track/course value provided in Corelocation update events when 
moving in that block of directions.  Works fine for 1 - 269 degree tracks 
though.

What version of the product are you using? On what operating system?
Version: latest in Cydia as of yesterday, 8/8/10 - iPad OS 3.2.1

Please provide any additional information below.

Original issue reported on code.google.com by vectorst...@gmail.com on 12 Aug 2010 at 9:52

GoogleCodeExporter commented 8 years ago
thanks for reporting this rather specific bug. As I don't have a plane to 
verify, I've reviewed the code and even found the problem within half an hour. 
Stupid mistage: BTstack GPS was reporting headings from 270 to 0 degrees with 
negative values as -90 to 0, which is defined as invalid. I'll provide an 
update to BTstack GPS within the next week.

Original comment by matthias.ringwald@gmail.com on 15 Aug 2010 at 3:33

GoogleCodeExporter commented 8 years ago
Great, thanks for fixing it!  I've been very impressed with BTStack GPS!

Original comment by vectorst...@gmail.com on 15 Aug 2010 at 6:42

GoogleCodeExporter commented 8 years ago
Can you also check that the course value is not 0 when "unknown"?  Looks like 
it might be giving a 0 in that case instead of a negative number to indicate 
"unknown".

Original comment by vectorst...@gmail.com on 23 Aug 2010 at 9:14

GoogleCodeExporter commented 8 years ago
good point. will set course to -1 if not moving. working on the GPS update 
right now, but got lost in some annoying bugs in the common BTstack that need 
to get fixed, too.

Original comment by matthias.ringwald@gmail.com on 23 Aug 2010 at 9:20

GoogleCodeExporter commented 8 years ago
Awesome, thanks!

Original comment by vectorst...@gmail.com on 23 Aug 2010 at 9:22

GoogleCodeExporter commented 8 years ago

Original comment by matthias.ringwald@gmail.com on 13 Sep 2010 at 8:53