Testing AI Methods With FlightGear 66
mikejuk writes "The open source flight simulator Flight Gear is great fun but it can also be used for serious research. Suppose you want to develop a drone that can roam the seas and spot debris so that ships can be directed to it and pick it up. It's a good idea, but how do you test your methods? The obvious way is to take to the sea and fly a drone over real debris and see what happens. It uses a lot of fuel and generates a lot of sea sickness. Why not just fly a simulated drone over a simulated sea and save the sea sickness? This is what Curtis Olson, project manager at FlightGear and he explains how to get OpenCV to use the simulator as if it was a camera."
Tacos (Score:3, Funny)
Re: (Score:2, Funny)
Drones get seasick? (Score:5, Informative)
If it's a drone, how is there sea sickness?
Re: (Score:3, Informative)
Re: (Score:2)
They are implying that you are controlling the drone from a boat on the sea. Thus you would get sea-sick.
Interesting, but that would be a bad assumption considering the ability of many drones to be controlled at great distance (from land) for many hours. And, even if they were controlled from sea, why would you want to skip part of that, making your simulation unrealistic?
Re:Drones get seasick? (Score:4, Informative)
You would still have to "seed" the search area with identifiable items so that your test is proper, and clear the search area for the "no results" outcome, rather than simply relying on whatever is drifting around when you got there.
You know, actually engineer a proper test environment...
Re: (Score:3, Insightful)
What debris? (Score:3)
Am I wrong in thinking that leaving a busted up craft to sink isn't the worst crime? It's not much pollution. Is this to help looking for bodies?
Re: (Score:3)
Re: (Score:2)
Re:What debris? (Score:5, Informative)
Overboard shipping containers. Search-and-rescue (aka find the bodies). Security (if it can spot debris, it can spot actual ships). Oil slicks, possibly.
Also, if there's something *continually* spitting out debris or something similar, tracking it down to stop it would be important.
Re:What debris? (Score:5, Insightful)
...
Also, if there's something *continually* spitting out debris or something similar, tracking it down to stop it would be important.
That "something" is called man.
Re: (Score:3)
...
Also, if there's something *continually* spitting out debris or something similar, tracking it down to stop it would be important.
That "something" is called man.
What, fish don't shit in the sea?
Re: (Score:1)
they don't shit plastic materials like we dump into the sea.
Re: (Score:2)
HEY! That's an unfair generalization.
Women can pollute as well.
Cool, but... (Score:1)
Re: (Score:3)
Surely they can think of a better reason to research this other than flying around looking for debris.
We all know the 'better' reason: to look for people to kill. However, looking for people to kill would upset some people, so we call it 'looking for debris'.
Re: (Score:3)
We all know the 'better' reason: to look for people to kill. However, looking for people to kill would upset some people, so we call it 'looking for debris'.
Exactly. "Debris". The fact that they aren't debris yet is just semantics.
Re: (Score:1)
Simulation (Score:3)
Re: (Score:1)
I hate to break it to you, but to get a commercial pilot's license, you need quite a bit of time flying a plane before you can even apply. That isn't even sufficient to fly passengers, that's the minimum to accept money for flying. So we're talking skywriters and folks who fly those signs around beaches. Then, to get an ATP license, you need a commercial pilot's license and at least 1500 hours of fly time. So, while commercial airplane pilots train on simulators, their first real flight was years before
Re: (Score:3)
News flash for you - 150 and 250 are both greater than zero.
Re: (Score:2)
Nothing to do with the question in hand.
Modelling something that originated inside a sim is the kind of thing a sim ought to be good at. That's an entirely different problem to perceiving something that exists in the real world outside the sim.
Re: (Score:2)
Re:Simulation (Score:4, Interesting)
Excellent! (Score:3)
Re: (Score:3, Insightful)
Mod Parent Up (Score:3)
Re: (Score:2)
Because a simulation is only as good as the person who made it. You never know whether your simulated robots are actually doing something new/useful/whatever, or just exploiting some flaw in your simulation.
Simulations are great for quick development, but at some point you need to move into the real world.
Re: (Score:2)
Simulations are great for quick development, but at some point you need to move into the real world.
Absolutely. The ideal situation would be to develop with simulated and real world testing together, comparing and validating your simulated results against your real world results. The original article isn't advocating for 100% in-a-vacuum simulation-based development, but rather trying to show how much you can do with carefully applied simulation -- using a cool, real-world project as an example. For what it's worth, this is just one small slice of a much larger marine debris effort that involves modeli
Re: (Score:2)
Yes, this project seems like a great use of an off the shelf simulation. I was replying to the GP who wrote:
"Why bother building and programming little robots to physically carry out the task of gathering "food", when the whole thing obviously could have been simulated?"
Checking something with pure simulation is a great way of checking that your assumptions are indeed correct given... your assumptions. As you point out, if you take the opportunity to test (and improve) your simulation against the real wor
Re: (Score:2)
Re: (Score:2)
"On the other hand, if you are interested in robots that scoot around on a smooth 2D surface and the only part of their behavior that interests you is how their communications with one another evolve, it's much more difficult to understand what you gain by actually building them."
How did you model their communications? Did you adequately model their movement? Do the assumptions you made modelling their movement affect the behaviour you're interested in? What else have you assumed without realizing it?
If
Re: (Score:2)
If you're only interested in how simulated robots behave, then go ahead and simulate them.
Yes, that's my point. I'm glad that you agree.
I guess you were never in grad school.
Actually, it's because I have been that I've seen many, many instances of, "Look at the eyecatching but basically unnecessary and useless thing we did just because it looks cool!" Presentation and salesmanship is an important part of doing successful (funded) research.
Oops (Score:2)
Now they need to develop an AI that can detect and incoming stampede of slashdot readers so it has time to brace for impact!
This isn't exactly new... (Score:2)
Flightgear has been used for ages for testing drone software .For example, the Paparazzi [paparazzi.enac.fr] drone project has interfaces for flightgear to allow you to simulate a drone flying.
I used just such a setup for testing out the software and seeing how it works before I actually get round to building a drone. I know some people use it for development as well, so unless I'm missing something, this isn't really new?
Re: (Score:3, Interesting)
Re: (Score:3)
Aaaaah, I see, that makes more sense, thanks for the explanation! :-)
And yeah I am very impressed with Paparazzi, I am actually surprised it doesn't get as much mention as other (arduino-based) drone systems. I was looking at developing a simple loitering drone with cameras, at the request of some companies and individuals who are interested in securing their compounds a bit better (getting a "birds-eye" view), and Paparazzi seems to be a good match for it. Now I just have to get off my arse and develop the
On this episode of FlightGear... (Score:4, Funny)
Only terrorists.. (Score:3)
Well, you know the drill... How long before someone like the HSD goes out and tries to ban simulation software that has 'performance' beyond a certain level.
Much as they did with encryption decades ago, classifying them as munitions and legally limiting access to 'high quality encryption'. My old copy of windows 1.0 still has the export restriction sticker, due to encryption.
Gratz to Curt Olson, from friends at GE Healthcare (Score:2)
Re: (Score:1)
next up - OpenCV Aimbots for all of your games. (Score:2)
Computing power is finally getting there. :o
Just imagine a computer with a screen grabber playing the game. We could even make tourneys where AIs fight each other
SkyNet VS The Matrix (Score:2)
Head 'sploded....
OK, so you have these drones that fly in the sky (re-purposed military drone perhaps?), and now you propose to give them AI? Why not just start the machine revolution right now?
So rather than use these things in "real life", you are going to simulate debris, in a simulated ocean, on a simulated earth? Don't forget to at least put the women in red in there as well...
All I know is that we burned the sky...
Re: (Score:1)
Re: (Score:2)
Does ANY drone have a range of 2000nm? I doubt it, which makes it all a bit implausible anyway. I suppose you could make a little drone aircraft carrier (heck make that automated also)... Of course then you would have to make autonomous destroyers and subs to defend it... :) Of course you would need some autonomous satellites to control the whole thing... SkyNet wasn't built in a day!
This really just sounds like cheapo software testing, where they simulate the environment rather than using real testing... O
Re: (Score:1)
Re: (Score:2)
Are you using that as an example of a simulated movie?
If you are, it wasn't a very good simulation. I know I didn't find it believable as a movie anyway... :)
Shameless plug (Score:2)
FlightGear is a wonderful flight simulator. I have been tracking its progress for the past eight or so years and it's great to see how it has progressed.
If there's something that it doesn't do well, you can always make it better yourself.