f16
f16 copied to clipboard
A/P STG SEL don't follow to active custom steerpoint
Not sure how Josh's A/P find out what to navigate to. But the problem is it uses properties, while the custom steerpoint will be in Nasal.
If it was a Nasal A/P system, we could just have done:
if (steerpoints.getCurrentNumber() != 0) {
var bearing = steerpoints.getCurrentDirection()[0];
if (bearing != nil) {
setAPHeading(bearing);
}
}
@Octal450 any suggestions?
@NikolaiVChr Do you want to keep Route manager compatibility? We have 2 options here:
Option 1: Use your custom navigation, and if that is not set, then try route manager Option 2: Use only your custom navigation
Then in either case, just provide me with properties for the heading to fly (true or mag, I can do either) and whether or not a point is set, and I can update the A/P to use them.
Kind Regards, Josh
Hmnm, maybe use only my nasal code.
You can use the above code to get heading.
OK.
Kind Regards, Josh
Fixed with 31333a17