Package frc.robot.shotdata
Class ShotData
java.lang.Object
frc.robot.shotdata.ShotData
Storage and interpolation for shooter parameters.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordParameters for a successful shot.static final recordParameters for a single instance of shooting. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShotData.ShotParametersgetShotParameters(double distance, double currentFlywheelSpeed, boolean log) Get parameters for a given shot situation.
-
Constructor Details
-
ShotData
public ShotData()
-
-
Method Details
-
getShotParameters
public static ShotData.ShotParameters getShotParameters(double distance, double currentFlywheelSpeed, boolean log) Get parameters for a given shot situation.
-