Class ShooterSim

java.lang.Object
frc.robot.superstructure.ShooterSim

public class ShooterSim extends Object
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 Details

  • Method Details

    • simulationPeriodic

      public void simulationPeriodic()
      Periodically updates values for the shooter simulation.
    • setValues

      public static void setValues(LinearVelocity gamepieceSpeed, Angle gamepieceTheta)