Package frc.robot.superstructure.sources
Class ShootingSource
java.lang.Object
frc.robot.superstructure.sources.ShootingSource
- All Implemented Interfaces:
Supplier<Optional<ShooterValues>>
- Direct Known Subclasses:
ShootFromAnywhereInterpolatedSource,ShootFromAnywhereSource,ShootingSourceConstant,ShootingSourceIdle
A source of values for the shooter.
This provides a nice way to keep track of different places the shooter can source its values.
-
Field Details
-
name
The name of the shooting source. This is mainly used for driver feedback.
-
-
Constructor Details
-
ShootingSource
Creates a new ShootingSource.- Parameters:
name- The name of the shooting source.
-
-
Method Details
-
getName
Gets the name of the shooting source.
-