Hi all.
Seems like a simple task, but I've gotta admit defeat.
To code a simple altitude autopilot - similar to the one for DG in Scripts, but for C++ so can be incorporated in a .dll
Trying to convert that script, I have this (don't laugh please)
shgt is target height in feet.
//-- Set up...