mattshobe / flightmap

Automatically exported from code.google.com/p/flightmap
Apache License 2.0
0 stars 0 forks source link

Negative bearings sometimes shown in tapcard #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Tapcard to KSUU from my house.
2. Bearing is negative.

Suspected root cause
- The bearing normalization code doesn't handle bearings < -180 which can 
happen when the bearing to an airport is negative and so is the magnetic 
deviation.

Original issue reported on code.google.com by ph...@google.com on 1 Sep 2010 at 8:47

GoogleCodeExporter commented 9 years ago

Original comment by aristi...@google.com on 2 Sep 2010 at 8:21

GoogleCodeExporter commented 9 years ago
Fixed in r257

Original comment by ph...@google.com on 2 Sep 2010 at 9:50

GoogleCodeExporter commented 9 years ago
It actually wasn't completely fixed by r257. Looks like r275 does fix it. 
Tested by confirming the negative bearing I saw from the Googleplex to KCCR is 
now 348.

Original comment by ph...@google.com on 3 Sep 2010 at 5:07