- Sebastien Marque: Fix navigation display so it shows distance to waypoint.
This commit is contained in:
parent
adbda8b7a3
commit
b51040c7ba
1 changed files with 2 additions and 2 deletions
|
@ -220,11 +220,11 @@ var screenNavigationMain = {
|
|||
type != nil ? type.getValue() : "---"),
|
||||
sprintf("BRG: %d° DST: %d %s",
|
||||
me.waypoint.getNode("bearing-mag-deg",1).getValue(),
|
||||
dist * dist_conv[0][dist_unit],
|
||||
me.waypoint.getNode("distance-nm",1).getValue() * dist_conv[0][dist_unit],
|
||||
dist_unit_short_name[dist_unit]),
|
||||
sprintf("XCRS: %d* (%.1f %s)",
|
||||
me.waypoint.getNode("course-deviation-deg").getValue(),
|
||||
me.waypoint.getNode("course-error-nm").getValue() * dist_conv[0][dist_unit],
|
||||
dist * dist_conv[0][dist_unit],
|
||||
dist_unit_short_name[dist_unit]),
|
||||
sprintf("TTW: %s",
|
||||
me.waypoint.getNode("TTW").getValue()),
|
||||
|
|
Loading…
Add table
Reference in a new issue