Just a small note that I was able to use the Ardupilot Mega in an experimental setup with FlightGear. I ported the XPlane 0.43 software to Linux C (using autotools). The trouble was finding out that a simple "usleep" wouldn't cut it, but that reading as fast as possible from the incoming data is essential and some steps should be taken to write data at a rate that is just slightly lower than the receiving rate at the other end ( so, 48Hz position updates vs. 50 Hz read updates in GPS_IMU and 48 Hz FG updates vs. an attempted 50 Hz update rate in FG).

http://radialmind.blogspot.com/2010/08/flying-with-ardupilot-mega.html

The only thing to look further into is the use of Serial.print and println in the ground station pde's. The GCS_Xplane uses these as well as others, but it looks as if these are not handled in hardware. If anyone from Ardupilot could comment, that'd be nice. Some expected handling here involves managed buffers handed off to some interrupt somewhere that would send it off immediately after the interrupt declared the line to be available...

For the rest, I'm quite pleased that even the stock Cessna of FlightGear can be manoeuvered respectably using Ardupilot. I suspect that with some more 3D waypoints, you could make a not too large trip around some area as well ! .

G>

Tags: flightgear, xplane

Views: 216

Attachments:

Reply to This

Replies to This Discussion

Hi Gerard,

If you take a look at the ardupilot SVN, thre is a new version with a new ardupilot.xml that does support rudder.

Thanks
Michael
Thanks, I played around with it this morning and got it working. Pretty soon I'll feel confident enough to play with stabilize and fbw_a modes on a real plane. I have tested behaviors through flightgear and found a couple of bugs, but once those are fixed and I have a perfect flight in fg, I'm going to take it for a spin.

RSS

Social Networking

Contests

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.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service