
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.
Flying Waypoints:

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:
Xplane and Ardupilot from Jason Short on Vimeo.
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:
newlines_to_nils=true
comm_baud=38400
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!
Bonus:



Comment by Rana on July 21, 2010 at 4:05pm
Comment by Rana on July 21, 2010 at 4:18pm 
Comment by David Ankers on July 21, 2010 at 4:59pm 
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.118 members
4 members
682 members
51 members
24 members
© 2013 Created by Chris Anderson.
Powered by

You need to be a member of DIY Drones to add comments!
Join DIY Drones