File tree 2 files changed +2
-3
lines changed
src/main/java/frc/robot/subsystems/swerve
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -199,9 +199,7 @@ public SwerveSubsystem(BooleanSupplier redSupplier) {
199
199
FL_POS .getNorm (), // Drive base radius in meters. Distance from robot center to furthest module.
200
200
new ReplanningConfig (true , true )
201
201
),
202
- () -> {
203
- return false ;
204
- },
202
+ redSupplier ,
205
203
this
206
204
);
207
205
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ public class VortexDriveMotor implements SwerveDriveMotor {
24
24
public VortexDriveMotor (int canID ) {
25
25
motor = new CANSparkFlex (canID , MotorType .kBrushless );
26
26
motor .setIdleMode (IdleMode .kBrake );
27
+ motor .setClosedLoopRampRate (.1 );
27
28
28
29
encoder = motor .getEncoder ();
29
30
encoder .setVelocityConversionFactor (conversionFactor ); //STUB
You can’t perform that action at this time.
0 commit comments