Navigation » Orbiter-Forum > Projects > ORBITER 2010-P1 > Bug » Map MFD: wrong direction to base

Map MFD: wrong direction to base Issue Tools
issueid=496 07-18-2010 04:14 PM
Orbinaut
Map MFD: wrong direction to base
Calculus of direction to base is wrong

Sometimes the calculation of direction to base is wrong in Map MFD.

Steps to reproduce:

Take, for example, "DG-S ready for takeoff" a default scenario in oribter 100606.
Set target to 'Gran Canaria' in Map MFD.
Map MFD shows 106.3 degrees as direction to base (Brg), but the right direction is 73.7 degrees.

I used the formulas:

cotan(r) = (tan(lf)/sen(ΔL)-tan(li)/tan(ΔL)) * cos( li ) = 0.293
Rc = atan( 1 / abs( cotan(r) ) ) = 73.7 degrees

where

Rc -> direction to base
li -> Cape Canaveral latitude
lf -> Gran Canaria latitude
ΔL -> Gran Canaria longitude minus Cape Canaveral longitude

Rc should be less than 90 degrees, because cotan(r)>0
Issue Details
Project ORBITER 2010-P1
Category Unknown
Status Fixed
Priority 5 - Medium
Affected Version 100606 (2010 Release)
Fixed Version (none)
Users able to reproduce bug 1
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

07-18-2010 10:38 PM
Beta Tester
 
I can confirm this.
Reply
07-19-2010 03:57 AM
Orbiter Founder
 
This issue will be addressed in the next beta.
Reply
07-28-2010 08:39 PM
Beta Tester
 
This issue is fixed.
Reply
Reply

Issue Tools
Subscribe to this issue