Loading ...
Sorry, an error occurred while loading the content.

386Re: [intellibrain] Soccer Robot ...

Expand Messages
  • Paul King
    Oct 2, 2009
      Note that the cmucam is not a full computer vision system.  All it can tell you is the x,y location of the ball at any given moment (the ball being a brightly colored region to the cmucam, which allows it to return the x,y region center).
      To compute a trajectory you will need to plot the change in the x,y coordinate over time by collecting periodic samples of the ball position and noting the time on the system clock (System.currentTimeMillis()).  With some math from basic physics, the ball's velocity can be calculated, from which predictions can be made about future ball location.  These coordinates in front-facing x,y will need to be translated into playing-field x,y coordinates using 3D geometry relating to visual perspective.
      More math from basic physics will allow you to compute the intersection of the ball trajectory (based on its current position and velocity) and the line of action of the robot (the path along which it moves).  The robot can then travel to that point over time, with its position as represented in a model updated as it moves.
      The robot may want to continue to track the ball as it moves.  Future ball positions will need to be translated geometrically relative to the robot's estimated current position, as compensating for this visual parallax is necessary to translate the ball's visual position into accurate playing field x,y coordinates.
      The robot Java program would need to be a continuous loop that estimates its position, the ball's position, the likely point of intersection of the ball with its path, and makes an adjustment to the robot's current movement speed (or stops).
      This 2 page article I found online discusses an algorithm for lanning goalie position in robot soccer:
      Kalman filters are useful math for estimating the velocity of a moving target from several imperfect measurements taken over time.  It was developed 50 years ago for target tracking in radar systems.
      Paul (another IntelliBrain user)
      ----- Original Message -----
      From: COE
      Sent: Friday, October 02, 2009 6:43 AM
      Subject: [intellibrain] Soccer Robot ...


      Good day Guys...
      we bought intellebrain bot and sonar at ridgesoft and cmucmu cam at seattle robotics few weeks ago...

      I'm going to use that for my project entitled Soccer Robot Goalie Behavior..
      The rule of the Gaolie is to depend the goal, if the robot in the goal area detect a ball coming to the goal, the robot must calculate a trajectory line of the ball, where the ball possibly pass...if the robot in the goal detect the intersection point of the trajectory line and the line of action in the goal are, the robot must come the to the intersection point ahead of time...
      we use sensor fusion., the cmu cam 2 and sonar sensor

      my problem are
      how does the robot determine the trajectory line of the ball using cmucam?
      if the robot determine the trajectory line, how does the robot determine the intersection point between the trajectory line of the ball and the line of action?
      if the robot determine the intersection point, how the does robot able to come to that point, to obstruct the ball???

      please help us....the intellebrain- bot,sonar and cmucam are expensive... we are in the philippines. ..

    • Show all 21 messages in this topic