Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Science Technology

A Robot Learns To Fly 289

jerkychew writes: "For those of you that read my last post about the robot escaping its captors, there's more news regarding robots and AI. According to this Reuters article, scientists in Sweden created a robot that essentially 'learned to fly' in just three hours. The robot had no preprogrammed instructions on how to achieve lift, it had to deduce everything through trial and error. Very interesting stuff."
This discussion has been archived. No new comments can be posted.

A Robot Learns To Fly

Comments Filter:
  • very interesting (Score:4, Interesting)

    by shd99004 ( 317968 ) on Friday August 16, 2002 @06:09AM (#4081557) Homepage
    Especially tried to cheat by standing on it's wingtips or similar. I would like to see something else though. What if we build lots of small generic robots, let's say they have wheels to move around only. The on the floor there could be more components that robots can attach themselves to, like giving them legs, wings, arms, eyes, ears etc., and then give them all different objectives, for example to survive, escape, learn from others, etc. Could be interesting to see if it would evolve into some kind of robot society where they all evolve different abilities and so on.
  • by Ben Jackson ( 30284 ) on Friday August 16, 2002 @06:42AM (#4081630) Homepage
    Here's what I did to play around with breeding algorithms from small building blocks:

    Define a very simple stack-based language. The stack only holds boolean values, and when empty pops and endless supply of "false" values and when full discards pushes. Choose some control flow opcodes:

    NOP, SKIP (pop, if true, skip ahead a fixed amount), REPEAT (pop, if true, skip back a fxied amount), NOT, RESET (clear stack, back to beginning)

    and some opcodes related to your environment (mine was a rectangular arena):

    GO (try to move forward one step, push boolean success), TURN (90 degrees clockwise), LOOK (push boolean "do I see food ahead?"), EAT (try to eat, push boolean success)

    Pick a stack size (this has interesting consequences, as some of my organisms learned to count by filling the stack with TRUE values and consuming them until they hit the endless supply of FALSE when empty) and a code size. Force all organisms to end in your RESET op. Generate them randomly and run them in your simulator (I did 20-50 at once letting each one run a few hundred instructions in a row). Evaluate fitness (in my case, how well fed they were) and breed them. You can combine the functions in lots of ways. Randomly choose opcodes (or groups of opcodes) from each, possibly with reordering or shifting. Introduce some mutations.

    Once you get something interesting, try to figure out how it works. This can be the hardest part -- my description above produced many variations that were only 8-10 instructions long before an unavoidable RESET opcode, and they could search a grid with obstacles for food!
  • by Boss, Pointy Haired ( 537010 ) on Friday August 16, 2002 @06:46AM (#4081637)

    MAIN
    {
    target = 72;

    do
    {
    guess = rand();
    }
    while guess target;

    print "GOT IT!"
    }

    NEWS HEADLINE:

    Artificial Intelligence researcher creates computer program that comes up with the number 72.

  • by archeopterix ( 594938 ) on Friday August 16, 2002 @06:51AM (#4081645) Journal
    The objective of the learning algorithm was to achieve maximum lift while attached to two vertical poles . So the headline should be: 'Robot learns to achieve maximum lift by flapping wings while attached to two poles'. I think keeping balance, avoiding stall, etc. are much harder to achieve.
  • by Anonymous Coward on Friday August 16, 2002 @07:51AM (#4081753)
    Care to release your simulator software?
  • Re:very interesting (Score:2, Interesting)

    by AlecC ( 512609 ) <aleccawley@gmail.com> on Friday August 16, 2002 @08:02AM (#4081773)
    The interesting question in about your proposal is the goal setting. In the swedish research, they set the system a very simple goal - generate lift using the hardware provided. And they showed that an evolutionary algorithm actaully achieved that, including exploring unexpected pathways (the cheats). But it is long, long way from such a simple, one-dimensional, goal seeking to a the multi-dimesional goal seeking required to make a working community/society. Particularly important, in my opinion, and unexplored in this scenario, is finding good compromises between conflicting goals, and particularly between long term and short term goals.

    Actually, I think research of this sort has gone a lot further in the simulated environment than these swedes have done. The different thing about this research is that they have done it with an object in the physical world. This should please those who distrust simulation, but for the average /.er it probably only confirms what we have known for a while - genetic algorithms are a nifty solution to a certain class of problem.
  • Re:very interesting (Score:2, Interesting)

    by JPriest ( 547211 ) on Friday August 16, 2002 @08:39AM (#4081867) Homepage
    Or sort of a robowars unleashed, where you place them in a room full of weapons that they are programmed to use, then let them fight it out quake style.
  • by kc0dxh ( 115594 ) on Friday August 16, 2002 @12:38PM (#4083251) Homepage
    This is neither scientific nor logical. Evolution of flight is presumed to transpire from not-flight capable creatures.

    1.Equiping a test subject with wings short-circuits the most intreguing part of the experiment.


    2.Equipping a winged test subject with a moter too heavy to maintain loft is stupidity at work.


    3.Thrust is not lift. Flight requires both, but this was thrust. The robot recreated 19th and 20th century flying machines. They didn't work either.


    4.Horizontal stabilizers (vertical rods) are not considered to have been available during the evolution of flight.



    The test is intriguing, for sure. But to bill this as AI learned flight is either poor press coverage, or a scientist seeking funding through an uninformed press.



Thus spake the master programmer: "After three days without programming, life becomes meaningless." -- Geoffrey James, "The Tao of Programming"

Working...