File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/frc/robot/subsystems/biscuit Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66import com .ctre .phoenix6 .StatusSignal ;
77import com .ctre .phoenix6 .configs .TalonFXSConfiguration ;
88import com .ctre .phoenix6 .configs .TalonFXSConfigurator ;
9- import com .ctre .phoenix6 .controls .MotionMagicDutyCycle ;
9+ import com .ctre .phoenix6 .controls .MotionMagicVoltage ;
1010import com .ctre .phoenix6 .hardware .TalonFXS ;
1111import com .ctre .phoenix6 .signals .ForwardLimitTypeValue ;
1212import edu .wpi .first .math .MathUtil ;
@@ -51,8 +51,8 @@ public class BiscuitIOFXS implements BiscuitIO, Checkable {
5151 private boolean isRemovingAlgae = false ;
5252
5353 private TalonFXSConfigurator configurator ;
54- private MotionMagicDutyCycle positionRequest =
55- new MotionMagicDutyCycle (0 ).withEnableFOC (false ).withFeedForward (0 );
54+ private MotionMagicVoltage positionRequest =
55+ new MotionMagicVoltage (0 ).withEnableFOC (false ).withFeedForward (0 );
5656
5757 public BiscuitIOFXS () {
5858 // Logger initialization with class name
You can’t perform that action at this time.
0 commit comments