SMALL - espritmodel.com SMALL - Telemetry SMALL - Radio
Reply
Thread Tools
Old Oct 29, 2012, 02:30 PM
Lucid Dreamer
kobkobico's Avatar
USA, CA, Temecula
Joined Jul 2005
646 Posts
Discussion
RC Simulator for UAV Algorithm Testing

Hello everyone,

My university is going to be entering a UAV competition this year or the next, and we are in the planning stage of creating a UAV. We have a relatively large team of students involved, and so are planning on both designing the airframe and programming the majority of the autopilot. Of course, if we are low on time, we could always use a commercial autopilot, but it would be more fun to make our own no?

I was wondering if any of you have experience using a simulator to test flight algorithms. My idea was that a simulator like RealFlight just takes in input from the controller, which means that if you somehow managed to send that signal from another source, you should still be able to control the plane on the computer. Since servos pretty much work on the percent control throw you give it, I figured it would be possible to make a converter for it. In addition, I see that RealFlight keeps track of heading, altitude, and I'd expect your x,y,z orientation and position.

So just wanted to ask if anybody has attempted something like this previously, or if it is just a waste of time since it is too difficult to get that data out of the program, and/or too difficult to add control input in. My hope was that if we fed data back and forth between the program we could test some basic algorithms like stabilization, turning to a certain heading, automated landings, etc.


Thanks everyone!

~Kobkobico
kobkobico is offline Find More Posts by kobkobico
Reply With Quote
Sign up now
to remove ads between posts
Old Oct 29, 2012, 04:07 PM
Chris Anderson
San Francisco/Bay Area
Joined Mar 2007
939 Posts
Yes, this is standard with APM (both hardware-in-the-loop and software-in-the-loop). We support both Xplane and FlightGear.

It's a great way to test code and algorithms.
zlite is offline Find More Posts by zlite
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Help! What Transmitter isbetter for me( Price ,RC and Simulator Compatible) totse Simulators 5 Sep 08, 2012 05:35 PM
Discussion What's the smallest UAV you have successfully built/tested? icebear UAV - Unmanned Aerial Vehicles 27 Jun 29, 2012 12:48 PM
Help! who know the algorithm for exponential curve in RC. StallManeuver Radios 7 Jun 29, 2012 10:11 AM
Discussion Rc Tx with no module for simulator use mick3485 Radios 3 Mar 01, 2012 02:24 AM
Discussion Using Flightgear for UAV simulations Jeanseb UAV - Unmanned Aerial Vehicles 9 Dec 05, 2007 08:52 AM