401Re: [intellibrain] Re: Soccer Robot ...
- Oct 8, 2009
Have try to use the dead reckoning? It let the Ibrain bot to know it's position(x,y) and its orientation...i will try to experiment this one...maybe it will help me to get the coordinates of the moving ball...
--- On Wed, 10/7/09, Peter Chatterton <peter@...> wrote:
From: Peter Chatterton <peter@...>
Subject: Re: [intellibrain] Re: Soccer Robot ...
Date: Wednesday, October 7, 2009, 11:27 AM"...the time it takes the ball to get from one point to the other is your ball.x and ball.y velocities."Isn't it the speed of the end-on image? I don't see how that would be the speed of the ball,except by chance.Though I'm not saying your algorithm won't work.Peter----- Original Message -----From: blescohierSent: Tuesday, October 06, 2009 4:26 PMSubject: [intellibrain] Re: Soccer Robot ...
Take the center of the goal as (0,0).
y (vertical axis)
<----------- --x------ -----> (horizontal)
--- In intellibrain@ yahoogroups. com, "Peter Chatterton" <peter@...> wrote:
> How can you 'capture the x and y' positions when you just have
> an end-on view?
> Are you sure that the height of the ball isn't variable as well?
> ----- Original Message -----
> From: blescohier
> To: intellibrain@ yahoogroups. com
> Sent: Tuesday, October 06, 2009 11:17 AM
> Subject: [intellibrain] Re: Soccer Robot ...
> What are you considering as the x and y axes? I assume that x is 'right and left' as the goalie looks at the playing field, and that y is up and down.
> In that case, 2 points define a line and the time it takes the ball to get from one point to the other is your ball.x and ball.y velocities. Capture the x and y position of the ball every t milliseconds, use the distance formula (http://www.purplema th.com/modules/ distform. htm) to determine the distance traveled, and then use the velocity of the ball (v = d/t) to predict the position where the ball will cross the goal line. If that position is inside the goal, move the robot to that position... if that position is outside your goal, let it go... it will miss the goal and be a goalie kick.
> --- In intellibrain@ yahoogroups. com, COE SECTIONB <coesectionb@ > wrote:
> > To Peter and Paul:
> > Thank you guys for your effort and idea.....i appreciate it so much...But if you have any idea about soccer robot (goal keeper) using cmucam, please post it here..especially it discuss about getting the trajectory line of the ball and getting the global coordinates of it....
- << Previous post in topic Next post in topic >>