Year Summary
I did a lot of bouncing back and fourth this year. It was a pretty stressful year for me though with 11th grade and college so I don't feel too bad about it, but It did show me that I tend to wander sometimes. Next year, I'll work on a better system to keep myself aligned with deadlines and goals. I did, however, get some pretty important data about Rev02. No glaring issues in the design expect for sourcing and assembly. Software is also progressing well, MATLAB was a good solution to arm control. I do also want to look into a camera tracking method that keeps the cameras mounted to the arm itself to keep setup quick, also I think it would be a cool feat. My skills in software and design have also gotten significantly better.
Adjust Bevel Gears for better meshing
Shorten cables
Attach Paddle
Finish Slotted Shaft
(image of analysis section code)
(image renderings)
(vision demo)
As we know that objects traveling through Earth's atmosphere are effected by Earth's acceleration due to gravity, we can use this to our advantage in this situation.
1) We are given the ball's 3D position over time from the cameras. From this, we can get the ball's position, velocity vectors, and acceleration vectors since math is our friend.
2) Just before a ball is served, it is held by someone. Meaning, the ball's acceleration does not match Earth's acceleration due to gravity. Thus, we can simply say when the ball's acceleration is close to 9.81m/s/s down (we can tune with drag if need be) we can assume the ball is in free fall. Any other value, and the ball is being held (Ignoring bounces for now).
3) Armed with this knowledge, as the ball is being held (not -9.81m/s/s accel), we can assume that the ball is about to be served. As soon as the acceleration of the ball matches, the game has begun and we should attempt to keep score now.