Skip to content

TimBot - Shooter Flywheel subsystem #4

@dlaufen

Description

@dlaufen

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
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions