packofparts / frc2024

Robot control software and engineering material for the 2024 build season.
Other
2 stars 1 forks source link

Program Shooter (Subteam Training) #161

Closed ArvickC closed 10 months ago

ArvickC commented 1 year ago

Software will be programming a shooter/turret as subteam training.

ArvickC commented 1 year ago

Shooter has been wired and built, currently in testing for programming

TejaKoripellaUwU commented 12 months ago

Programming's Task: This is one of the highest priority preseason tasks for programming so this is what we have to do IN ADDITION to creating a basic shooter subsystem:

Useful links: PID tuning with phoenix tuner: https://youtube.com/watch?v=ulIbSVq6PC4

Motion Magic, kF calculations, and API for talon FX motor controllers: https://v5.docs.ctr-electronics.com/en/stable/ch16_ClosedLoop.html#setting-motion-magic-cruise-velocity-and-acceleration

Flywheel exit velocity physics: https://www.youtube.com/watch?v=g8lGrWJ6BHc&t=324s