-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
A flywheel shooter is need for TimBot.
Talon/falcons are used for the motor controller. Look for example code from 2019/20 or original Tim code to crib from.
Make sure to update to Phoenix 6.
https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html
Need to tune velocity PID so speed has a fast step-response.
There are two motors, set the sub-system up to control each independently as we may need to stage or stagger the flywheels.
basics - https://docs.wpilib.org/en/stable/docs/software/advanced-controls/introduction/tuning-flywheel.html
adv - https://docs.wpilib.org/en/stable/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.html
API sketch:
SetSpeed(double rpm)
bool IsAtSpeed()
Metadata
Metadata
Assignees
Labels
No labels