Export to GitHub

btstack - issue #64

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


Posted on Aug 12, 2010 by Happy Monkey

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.

Comment #1

Posted on Aug 15, 2010 by Swift Ox

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.

Comment #2

Posted on Aug 15, 2010 by Happy Monkey

Great, thanks for fixing it! I've been very impressed with BTStack GPS!

Comment #3

Posted on Aug 23, 2010 by Happy Monkey

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".

Comment #4

Posted on Aug 23, 2010 by Swift Ox

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.

Comment #5

Posted on Aug 23, 2010 by Happy Monkey

Awesome, thanks!

Comment #6

Posted on Sep 13, 2010 by Swift Ox

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium