Centripetal motion refers to an object that is moving in a circular path. Although the object is always changing direction, its speed is constant. The centripetal force is the force that acts towards the center of the circular path.
If the force towards the center is removed, the object will move in a straight line, tangential to its previous orbit
Using this principle, we can launch an object. If the motor is providing the centripetal force, stopping the motor will cause the projectile in it to be released
The original version has no angle to the arm to simplify the programming. Therfore, the following calculations can be used to determine the distance a candy can theoretically be launched. We will use 300 rpm to see if the $10 slip ring will suffice or if a 800-100 rpm slip ring will be needed. A 14 cm arm was decided to be the maximum since any larger would be hard to 3d print.
5 rev/s = 10π rad/s
vt = ωr
vt = (10π rad/s)(14cm)
vt = 140πcm/s = 4.39m/s
vi = 4.39m/s
vf = 4.39m/s
a = 0
Δx = ?
t = ?
t = √(2h/g)
t = sqrt(0.2)
t = 0.45s
Δx = vit + 1/2 at2
Δx = (4.39 m/s)(0.45s)
Δx = 1.97m
Therefore, we can expect the skittle to land at the ground about 1.97 meter from the launcher. The motor is capable of going 600 rpm, so we can technically just push the slip ring past its max slightly. This would put a conservative limit on the distance at 2m. We can use this value when doing the computer vision to decide whether or not its worth launching candy at an individual. Also note - the distance is before it hits the floor, we would like it to reach the person at a hight higher than the floor.