Re-enable delegate sequencing; which will handle radial intercepts through the GPS controller
This commit is contained in:
parent
30bbb196d3
commit
285da1f974
1 changed files with 14 additions and 1 deletions
|
@ -122,7 +122,20 @@ var A320GPSDelegate = {
|
||||||
|
|
||||||
sequence: func
|
sequence: func
|
||||||
{
|
{
|
||||||
return;
|
if (!me.flightplan.active)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (me._modeProp.getValue() == 'leg') {
|
||||||
|
if (me.flightplan.nextWP().wp_type == 'discontinuity') {
|
||||||
|
logprint(LOG_INFO, "default GPS sequencing DISCONTINUITY in flightplan, switching to HDG");
|
||||||
|
# set HDG mode
|
||||||
|
} else {
|
||||||
|
logprint(LOG_INFO, "default GPS sequencing to next WP");
|
||||||
|
me.flightplan.current = me.flightplan.current + 1;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
# OBS, do nothing
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
currentWaypointChanged: func
|
currentWaypointChanged: func
|
||||||
|
|
Loading…
Reference in a new issue