Package frc.robot.superstructure
Class ShooterSim
java.lang.Object
frc.robot.superstructure.ShooterSim
Simulation functionality for the shooter.
For now, this only really works for shoot-while-move since I didn't want to do all the calculations backwards to go back to gamepiece theta and speed. But that's all we really need it for anyway.
-
Constructor Summary
ConstructorsConstructorDescriptionShooterSim(CommandSwerveDrivetrain drivetrain, Shooter flywheel, Hood hood, Turret turret, HopperUptake hopperUptake) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetValues(LinearVelocity gamepieceSpeed, Angle gamepieceTheta) voidPeriodically updates values for the shooter simulation.
-
Constructor Details
-
ShooterSim
public ShooterSim(CommandSwerveDrivetrain drivetrain, Shooter flywheel, Hood hood, Turret turret, HopperUptake hopperUptake)
-
-
Method Details
-
simulationPeriodic
public void simulationPeriodic()Periodically updates values for the shooter simulation. -
setValues
-