top of page

Ball Tracking 

We decided to go with color tracking in order to follow the ball's movement. In order to achieve this we are using the Pixy2 color tracking camera (pictured on the right). With this camera, you are able to train it to recognize specific colors, and tell the location of these colors on a x,y plane along with their width and height. It takes 60 readings per second, so using this information will be able to calculate the speed and direction of the ball. In order to determine the speed, we will first need to determine how many pixels on the camera correspond with a set real world distance. Once we have figured this out, we can use the change in distance between each reading in order to calculate the speed. Since it takes 60 readings per second, the âˆ†t between readings will be 1.67ms. âˆ†d/∆t = speed. 

Pixy2.jpg

Coding

CSCode.PNG
RefCode.PNG

Rod Linear Movement

Rod Rotational Movement

Motor and Encoder:​

The motor shown is what is used on the table to drive the linear motion of the men. It has a rated torque of 28 oz.in and a max rpm of 6000.

​

The encoder used to keep track of the linear position is shown on the right. It is a AMT102-V encoder.

​

​

encode1.jpg
encode2.png
lin_moto.png

Motor and sensor :

The motor shown is what is used on the table to drive the kicking motion of the men. It has a rated torque of 6.25 oz.in and a max rpm of 1000.

​

The sensor shown is a TCRT5000 inferred optical sensor. It is used to detect when the players feet are down.

 

Rod assembly 

motor.jpg
sensor.png

Here is a solid works model of the design of the rod used by the table. Below that is a photo of the actual rod being assembled.

rod_assem.PNG
Foose_rod.jpg

© 2019 by Pity the Foos Automated Table

bottom of page