I've finally perfected the X-Plane HIL for Ardupilot. This will be a feature on 2.6.3 which will be in beta today.
Here is missed waypoint detection: (I nudged the plane at the last second with the radio to miss the WPs.)
Here is fully auto take off and landing:
Here is the video of auto takeoff and landing:
If you want to try this out you have to use some software to glue this all together.
Serproxy - used to talk serial to Ardupilot
Perl - to link Serproxy and X-Plane using "X-Plane.pl"
X-Plane 9 (the free version works fine, but it time limited)
I've only tested this on a Mac, so if anyone can try this on a PC, please let me know of changes to make, if any.
In the config header you will see a new ground station called GCS_Xplane (3). You must also use GPS_protocol 3 for ArduIMU.
Here is the Perl file:X-Plane.pl
Here is Windows Serproxy - Windows
Here is Mac Serproxy - Mac
in the config set:
Then set the com port accordingly
Go ahead and download 2.6.3 from the SVN. I'll post a beta soon as a download.
Moving forward I'd like to replace the Perl/Serproxy combination with a single C or Python based solution. If anyone can help, that would make it so much easier to set up!