This will require a lot of reading rather poorly written documentation, so good luck.
Use wpilib's FlywheelSim to create a simulation implementation of ShooterIO. You should only need to set up the simulation using the constructor, call the setInputVoltage method when the voltage is set, and call the update method during the updateInputs call of ShooterIOSim, similar to in DrivetrainIOSim.
This will require a lot of reading rather poorly written documentation, so good luck.
Use wpilib's FlywheelSim to create a simulation implementation of
ShooterIO
. You should only need to set up the simulation using the constructor, call thesetInputVoltage
method when the voltage is set, and call theupdate
method during theupdateInputs
call ofShooterIOSim
, similar to inDrivetrainIOSim
.