Triton-Robotics/TR-mbed

Curve shots

Opened this issue · 0 comments

Test the curve capabilities of hero, infantry, and sentry.

Curving a ball means that you apply a spin on the ball by changing the velocities of the flywheels.

For Hero and Sentry, we can curve shots vertically, which would mean that we can either induce a HARSH dropoff by adding downwards spin, which is useful if we want to do something like an artillery Hero (shooting over a wall),

or we can reduce the effect of gravity by adding an upwards spin.

We should get solid PID on the flywheel velocities, and then test different flywheel velocity differences and ratios to see if spin is possible, and if so, to what extent.

The basic concept of spin on a ball can be explained with this video:
https://www.youtube.com/watch?v=8kVuKAqy_2k&ab_channel=FizzicsOrganisation

And this paper may be of help as to calculating it:
https://baseball.physics.illinois.edu/AJPFeb08.pdf