andretamm / sdpwinners

STABILITY - making your robots stable since 2014
0 stars 0 forks source link

Basic physics engine for tracing the ball, wall kicks etc #21

Closed andretamm closed 10 years ago

andretamm commented 10 years ago

Want this to be able to guess where the ball is going and how fast it will get there. So should be able to use velocities and histories from the Vision system's world state to do physics magic and tell us where the robot will go.

This should be useful both for helping us defend goals and for letting us make passes between the defender and attacker. Oh and wallkicks from the attacker to the other team's goal :)

Probably going to be some combination of @mkirova and @andretamm.

andretamm commented 10 years ago

Still need to do: Integrating the methods added by the previous commit to work with the opposing robot's orientation. I.e. if they have the ball, then we want to use their orientation as the ball's velocity vector and move to a place based on that!

Also - we have the points where the ball will go, now should get the positions for where the robot should be (the robot can't be in the goal <.<) and where we should kick if we wanted to make an awesome wallkick.

andretamm commented 10 years ago

Yeah, I think this is done :D. We have a BASIC physics engine, if anybody needs more complicated stuff, then go ahead and open a new issue. Yay!