Slashdot Mirror


Robot Dominates Air Hockey, Adapts To Opponents' Playing Style

colinneagle writes "Researchers at Chiba University in Japan have developed a robot that could frustrate teenagers worldwide with its impressive air hockey skills. What's remarkable about this air hockey-playing robot, which is not the first of its kind, is that it can sense human opponents' playing styles and adapt to defend against them. The key is how the computer controlling the robot views its opponent — at a speed of 500 frames per second. From there, the robot uses a three-layer control system to determine motion control, when it should hit the puck, defend its goal or stay still, and a third that determines how it should react to its opponent's playing style."

49 comments

  1. Robotic Pong by sidevans · · Score: 4, Funny

    It's only 41 years late...

    --
    I'm not signing anything
    1. Re:Robotic Pong by Anonymous Coward · · Score: 0

      How could the robot NOT lose if it can sense and adjust every 2ms?

    2. Re:Robotic Pong by ranton · · Score: 2

      I know that people often underestimate how hard it is to program a good AI, but playing air hockey does not seem like a difficult AI problem. Once you are able to track the trajectory of the puck then you should never allow a goal as long as the reaction time is good enough. And with enough power you could hit the puck at the maximum speed that would not cause it to launch, and at angles where a human will have a harder time determining the target than the computer.

      Its a good project for college students to learn robotics and AI, but it doesn't really look like interesting research.

      --
      -- All that is necessary for the triumph of evil is that good men do nothing. -- Edmund Burke
    3. Re:Robotic Pong by Anonymous Coward · · Score: 0

      41 years? How do you know, what do you mean?

  2. The Art of War by RudyHartmann · · Score: 0

    Didn't Sun Tzu figure this out a zillion years ago? If only we could adopt this to more of this issues of life.

    --
    Oh, yeah! Wise guy, huh? Woob woob woob woob! Nyuk! Nyuk!
    1. Re: The Art of War by Anonymous Coward · · Score: 0

      This has to be the dumbest comment I've read on slashdot. Trying for first post?

    2. Re: The Art of War by Anonymous Coward · · Score: 0

      We see the world from our own level of perspective I guess.

    3. Re: The Art of War by khallow · · Score: 1

      The original post could have been dropped on almost any story and be just as irrelevant.

  3. Robot vs Robot! by hedley · · Score: 3, Interesting

    3... 2... 1.. Fight!

    1. Re:Robot vs Robot! by c0lo · · Score: 4, Funny

      3... 2... 1.. Fight!

      (sound of crickets in the background: each of the robots waits the other's action to have something to react to).

      --
      Questions raise, answers kill. Raise questions to stay alive.
    2. Re:Robot vs Robot! by crakbone · · Score: 2

      The only winning move is not to play.

    3. Re:Robot vs Robot! by scorpio.pkt · · Score: 1

      What fun would it be watching robots play? I mean- Dont we lose out on all the fun when there are machines battling it out there? Why cant such "BRILLIANT" scientists make inventions that would benefit someone at least??

    4. Re:Robot vs Robot! by Anonymous Coward · · Score: 0

      It would be fun because it would pit the engineering and programming skills of the design teams against each other. I for one would like to see it happen--there are non-trivial issues of fast image recognition and precise high-speed mechanics. Seeing a contest pitting solutions for these problems against each other is entertaining to me, but of course I'm a geek.

      Oh, and the technology that would be developed by this hypothetical contest could have applications in other areas, for example self-driving cars, manufacturing techniques, weapons systems, etc. etc. Any contest or goal that drives excellence in technology is beneficial to humanity. Okay, maybe not chemical warfare technology, but you get my point.

  4. only 3 layers? by Osgeld · · Score: 0

    phht, noobs

  5. looks like it blocks if it would go to the hole by gl4ss · · Score: 1

    that's like, brilliant.

    but why the need for a robot to demonstrate this? would be more fun as an online game demonstration. more accessible at least.

    --
    world was created 5 seconds before this post as it is.
    1. Re:looks like it blocks if it would go to the hole by mwvdlee · · Score: 4, Funny

      To loosely paraphrase: Any sufficiently advanced AI would be indistinguishable from cheating.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    2. Re:looks like it blocks if it would go to the hole by simonbp · · Score: 5, Funny

      The next challenge is a robot that drunkenly argues about the rules for three hours after just 10 minute of gameplay.

    3. Re:looks like it blocks if it would go to the hole by Anonymous Coward · · Score: 0

      To loosely paraphrase: Any sufficiently advanced AI would be indistinguishable from cheating.

      It's not kosher in two ways, it's protecting a very small area, it returns the puck as it can
      and guards the goal very efficiently; it's fall back (default) is center of goal there's not enough room to get it past.
      People who play like this are not treated friendly as they just guard and hope for a lucky return shot.
      There's no real skill, ie: your just beating yourself.

      I would also imagine being a machine it's very rigid; your not going to force it out of the way to slip one through.

      I remember when air hockey first came out, I was good then and still consider myself unbeatable at least I've
      played a lot and powned em all. I'd really like to play this machine, I think I could beat it if it didn't guard the way it does,
      it's as close to a cheat as you can get in air hockey.

    4. Re:looks like it blocks if it would go to the hole by dubdays · · Score: 4, Funny

      Yeah, sounds like fun...a robot that whips my ass at air hockey every single time. What will they come up with next? A robot that chases me down with nunchucks and just beats the shit out of me? Woo hoo!

    5. Re:looks like it blocks if it would go to the hole by Anonymous Coward · · Score: 0

      Yeah, sounds like fun...a robot that whips my ass at air hockey every single time. What will they come up with next? A robot that chases me down with nunchucks and just beats the shit out of me? Woo hoo!

      How about... a robot that whips your ass?

      http://www.youtube.com/watch?v=y459rlx9tXI

    6. Re:looks like it blocks if it would go to the hole by Anonymous Coward · · Score: 0

      it's fall back (default) is center of goal there's not enough room to get it past.

      Um, yes there is. You're not really that good if you think guarding the center is similar to cheating.

    7. Re:looks like it blocks if it would go to the hole by jovius · · Score: 1

      ...and which would constantly talk you down because of its ability to analyze your lip movements 500 frames per second and so know what you are going to say next...

    8. Re:looks like it blocks if it would go to the hole by EETech1 · · Score: 1

      Let it guard the hole, and I'll whip its shiny metal arm with my spinning bank shot. Every Single Time!

    9. Re:looks like it blocks if it would go to the hole by Anonymous Coward · · Score: 0

      A robot that chases me down with nunchucks and just beats the shit out of me?

      I would pay to see that.

    10. Re:looks like it blocks if it would go to the hole by Anonymous Coward · · Score: 0

      YOU signed an NDA, sir!

      YOU be QUIET about my robot Chuck Norris!

    11. Re:looks like it blocks if it would go to the hole by MouseTheLuckyDog · · Score: 1

      Sounds like a sex toy.

  6. Too fast sampling rate by Anonymous Coward · · Score: 0

    Hmm, 50 frames a second should be enough. It sounds like a student project where they haven't learned the basics of sampling techniques yet.

    1. Re:Too fast sampling rate by Dr.+Spork · · Score: 1

      Maybe it's cheaper to sample a lot, rather than to sample less and extrapolate accelerations. They probably get away with a simpler prediction algorithm when their data points are so dense. Or maybe, the way the puck moves in air hockey is more sensitive to initial (impact) conditions than you realize. I'm guessing that in the 50th of a second before you hit the puck, you can do a lot of things to significantly affect its trajectory. Anyway, maybe that's what they discovered as they built this system - something about the game itself.

    2. Re: Too fast sampling rate by edremy · · Score: 1

      Actually, 50 fps is probably not enough. When my son and I get going we can get the puck from one side to the other in substantially less than fifth of a second. Given that the robot probably needs to start moving very quickly after the opponent hits the puck you'd only have a couple of frames to work with at that speed. Half the time when I lose a point I haven't even seen the puck before it's in the goal. (Getting hit by a flying puck at those speeds hurts like hell. I thought I broke my finger once)

      --
      "Seven Deadly Sins? I thought it was a to-do list!"
    3. Re:Too fast sampling rate by Anonymous Coward · · Score: 0

      Maybe it's faster because they want their robot to be virtually unbeatable? It certainly helps if it always seems like the opponent is playing in slow-motion given the robot's sense of perception.

      Now if they wanted it to be more fair, then sure, a lower sampling rate would make more sense. It would be around your number because fom what I've heard, the average human percieves things somewhere around 1/60 of a second. Most people with seemingly faster responses than that (such as athletes) tend to be good at predicting what's going to happen based on what little they do see.

  7. It can be beaten by ozduo4 · · Score: 1

    You just have to hack it.

  8. Ahh, the memories... by BananaBender · · Score: 2

    Shufflepuck Cafe, anybody?

    1. Re:Ahh, the memories... by Dan+East · · Score: 2

      Yes, thank you. Playing that game 20+ years ago taught me the futility of playing certain kinds of games against a computer. Eventually I could beat the hardest player (on occasion), but at that point it was very obvious that was only because the computer AI was purposefully imperfect. If I could hit a dozen or more perfect hits then eventually the computer would allow one to score.

      With this robot player the entire difficulty is overcoming whatever physical limitations exist in the hardware. It would have to account for lag and speed constraints in the mechanism it controls, but beyond that, I would fully expect it to be able to be nearly impossible for a human to score against it. I had enough trouble against a 7MHz Amiga in 1990, so I can only imagine what a modern quad core is capable of.

      --
      Better known as 318230.
    2. Re:Ahh, the memories... by drinkypoo · · Score: 1

      I had enough trouble against a 7MHz Amiga in 1990, so I can only imagine what a modern quad core is capable of.

      Just be glad you didn't play on a mac. The game was just as hard, but the macs didn't actually have any graphics acceleration (unlike the Amiga) so they couldn't actually keep up and you'd get rectangles around the puck and paddles and crap like that. You'd see the same crap in crystal quest.

      What led Apple to make a graphics-only computer with no graphics acceleration is beyond me. What led people to ignore the Amiga in favor of the Mac is even further beyond me — originally, they had similar software bases.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Ahh, the memories... by NJRoadfan · · Score: 2

      24-bit color QuickDraw accelerated video cards were released for NuBus Macs. The lack of graphics acceleration likely wasn't a problem before that when you only had a 512x384 1-bit video "standard". The Amiga's custom chips couldn't handle 640x480x256 colors worth a damn, that mode on a stock AGA machine is slower then a crappy ISA SVGA card with no acceleration.

    4. Re:Ahh, the memories... by drinkypoo · · Score: 0

      24-bit color QuickDraw accelerated video cards were released for NuBus Macs.

      I know, because (heh heh) my mom had a Mac IIci with an 8*24 card, but not the really accelerated one, just the slightly accelerated one. Meaning, it would do color quickdraw, but it wouldn't do it very quickly. But an Amiga with a Retina board would spank the Mac every time, and with an Emplant board and some Mac ROMs it would also spank the Mac at being a Mac at a lower total cost. For example, an Amiga 2500 (a 2000 with an accelerator) with an Emplant had the same CPU as a Mac IIci but would consistently win MacOS benchmarks against the same system. And the Emplant gave you some Mac ports in the bargain.

      The fact is that the classic macs provided tragically little hardware for the day, let alone for the cost.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  9. Am I the only one? by Anonymous Coward · · Score: 0

    Am I the only one who can see that the robot missed a puck at the end of the video? I can clearly see the puck hitting the back border!

    1. Re:Am I the only one? by c0lo · · Score: 1

      Am I the only one who can see that the robot missed a puck at the end of the video? I can clearly see the puck hitting the back border!

      Many times actually, but not inside the goal area.

      --
      Questions raise, answers kill. Raise questions to stay alive.
  10. Adapt to this! by Anonymous Coward · · Score: 0

    /me spills soda into the robot's exposed electronics...

  11. We need more good game robots! by Dr.+Spork · · Score: 1

    The Japanese have solved air hockey. Now I'm waiting for Koreans to create the perfect AI computer to play Starcraft 2. (And I'm not talking about this guy.) The AI that comes with the game is inexcusably pathetic.

  12. Won't last long after... by cellocgw · · Score: 1

    Shawn Thornton kicks its shiny metal ass.

    --
    https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
  13. Is nothing sacred anymore?!!! by Alejux · · Score: 2

    Next thing you know, robots will beat us at Foosball! We can't let this happen!

  14. Looks like it dominates defense by Adult+film+producer · · Score: 1

    but can the robot go on the offensive?

    1. Re:Looks like it dominates defense by Anonymous Coward · · Score: 0

      Considering that humans have 100 ms of lag, the fact that this thing can't score is pathetic. A good robot opponent would fling its arm out at high speed to intersect the path of the puck at the first moment the rules of the game allow, so as to impart as much energy as possible into the puck while minimizing the distance the puck will travel before it is in the goal, such that this all occurs before it's measly human opponent has a chance to notice that anything happened.

  15. Choice of games by Jiro · · Score: 1

    In air hockey the puck moves on a two dimensional surface. This makes this game exceptionally easy for robots because they don't need to do complicated three dimensional calculations that would be needed to hit and aim a ball moving in the air. Furthermore, since the puck is hit with a round mallet, it's going to be fairly easy to compute where the puck will go after it's been hit--something that won't work even with a game as simple as foosball, never mind table tennis.

    So this is much less impressive than it sounds.

  16. I'm sure it was called Mac Something. by Impy+the+Impiuos+Imp · · Score: 1

    One of my favorite Mac games was an air hockey one with various robot opponents.

    This robot, assuming it even can lose, is just a few months of speedup away from being fast enough to block any possible human strike. For offense, they would probably have to speed limit it from hitting 200mph shots and ace every time.

    --
    (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
  17. Good Proje by Anonymous Coward · · Score: 0

    Good a proge. tkanh u verry much. http://www.kazancinyolu.com

  18. Guaranteed win by Anonymous Coward · · Score: 0

    Just tell the robot that everything you say is a lie.

  19. cheap jordan shoes,Air max shoes,sunglasses sale by lakkago · · Score: 0

    YOU MUST NOT MISS IT! The website cheap wholesale and retail for many kinds of fashion shoes, like the nike,jordan, also including the handbags,sunglasses,jeans,shirts,hat,belt and the watch, All the products are free shipping, and the price is competitive, after the payment, can ship within short time. the goods are shipping by air express, such as EMS,DHL,the shipping time is in 5-7 business days! http://www.sport3trade.net/ cheap jordan for $40, Air Max 90 for $41, air shox for $40, best handbags for $39, Sunglasses for $18, wallet for $19, belt for $18, T-shirts for $20, Jeans for $39, NFL/MLB/NBA jersey for $25, Top Rolex watch,jordan for cheap, http://www.sport3trade.net/