NOrmalise track_diff to avoid issues when turning through North
This commit is contained in:
parent
0e7c79d76d
commit
b91ebcbb54
1 changed files with 1 additions and 1 deletions
|
@ -977,7 +977,7 @@ var canvas_PFD_base = {
|
|||
me["HDG_target"].hide();
|
||||
}
|
||||
|
||||
track_diff = track.getValue() - heading.getValue();
|
||||
track_diff = geo.normdeg180(track.getValue() - heading.getValue());
|
||||
me["TRK_pointer"].setTranslation(me.getTrackDiffPixels(track_diff),0);
|
||||
split_ils = split("/", ils_data1.getValue());
|
||||
|
||||
|
|
Loading…
Reference in a new issue