Tom Pycke, who is one of the more sophisticated UAV hobbyists, has a good post showing how to use the open-source Flight Gear simulator program to test your autopilot code.
He begins:
"A lot of people think they need great electronics skills, a lot of time, and embedded programming skills to experiment with Kalman filtering of IMU-data. Think again! The key to all your success stories is simulation!
One of the easiest tools that can help you with those simulations, is a great flight sim called Flight gear. It uses advanced aerodynamics simulation libraries, among which some were created by the NASA. Good enough for our purposes! On top of that, you can easily configure Flightgear to log all the data you need. I updated my config file to log the following variables:
He includes sample VB code, too (yes, you can code a Kalman in VB!). Read it all here.
Comment by Cory on March 6, 2008 at 10:24pm
Comment by Neelima Chanchlani on April 9, 2009 at 10:23am Comment
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.184 members
1290 members
10 members
684 members
87 members
© 2013 Created by Chris Anderson.
Powered by

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