Skip to content

Commit

Permalink
vortex changes
Browse files Browse the repository at this point in the history
  • Loading branch information
penguin212 committed Feb 7, 2024
1 parent 3720b0a commit b7baddc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public SwerveModule(int drivePort, int steerPort, double offsetRads, boolean vor
// untested for vortexes
driveMotor.setPositionConversionFactor(DRIVE_ROTATIONS_PER_METER);
System.out.println("factor " + DRIVE_ROTATIONS_PER_METER);
driveMotor.setVelocityConversionFactor(DRIVE_ROTATIONS_PER_METER * 60.0); //Conversion from rpm to m/s
driveMotor.setVelocityConversionFactor(DRIVE_ROTATIONS_PER_METER / 60.0); //Conversion from rpm to m/s

steerMotor = new CANSparkMax(steerPort, MotorType.kBrushless);
// steerMotor.setInverted(true);
Expand Down

0 comments on commit b7baddc

Please sign in to comment.