From f446b9c129d8a17382a04f788f0e769a3914ef78 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 4 Apr 2018 16:59:28 -0400 Subject: [PATCH] Control: bugfix pushback --- Nasal/autopush_driver.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/autopush_driver.nas b/Nasal/autopush_driver.nas index 5845df65..3599e129 100644 --- a/Nasal/autopush_driver.nas +++ b/Nasal/autopush_driver.nas @@ -77,7 +77,7 @@ var start = func() { } towdist = getprop("/sim/model/pushback/driver/tow-distance-m"); _target = geo.aircraft_position(); - _psi_parking = getprop("/orientation/heading-deg"); + _psi_parking = getprop("/orientation/heading-magnetic-deg"); _target.apply_course_distance(_psi_parking, towdist); _psi_turn = getprop("/sim/model/pushback/driver/face-heading-deg"); _sign = 1.0 - 2.0 * (towdist < 0.0);