I've also included some new code for low ground speed in high winds. The code bumps up your throttle output to overcome wind as your groundspeed drops below your defined AIRSPEED_CRUISE value.
It's all pretty well tested in the sim, but if you run into an issue, let me know.
If you want to get X-Plane running, Michael has a great windows app to connect 2.7 as a HIL sim.
Jason
Replies
http://diydrones.com/forum/topics/problem-with-rtl-altitude-at
also fixed ?
olli