For the computer vision pong, we attached a camera so that the table was in its FOV. Using LabVIEW and a myRIO controller, the orange ball was tracked. When the ball was traveling towards the paddle, the ball’s trajectory was estimated using the samples (30Hz) from the camera. Using a PD algorithm, the paddle moved towards the ball’s estimated rebound position. The device did end up working but unfortunately, I did not get the video of the end result.
Below is a video of me pushing the ball towards the paddle as my teammate adjusts the gains on the PD control algorithm.