@@ -151,7 +151,7 @@ public static class RobotPorts {
151151 /** Physical Measurements */
152152 public static class RobotMeasurement { // One time Chirayu told me we should do all one unit for Robot Code, I laughed and added all data in kilometers
153153 // Robot information
154- public static final double robotWeight = 86.484 ;
154+ public static final double robotWeight = 86.484 ; // lbs
155155
156156 public static final double botlengthInches = 30 ;
157157 public static final double botlengthMeters = (botlengthInches /39.37 );
@@ -175,7 +175,7 @@ public static class RobotMeasurement { // One time Chirayu told me we should do
175175 /** Shooter and Flywheel specifc measurments */
176176 public static class ShooterData {
177177 // Shooter
178- public static final double hubEntryAngle = 45 ; //What angle we want to enter the hub at
178+ public static final int hubEntryAngle = 45 ; //What angle we want to enter the hub at
179179
180180 // Flywheel
181181 public static final double flywheelTransferPercentage = 0.35 ;
@@ -239,44 +239,44 @@ public static enum SpeedTypes {
239239 }
240240
241241 public static class Falcon500 {
242- public static final double maxRPM = 6380 ;
242+ public static final int maxRPM = 6380 ;
243243 }
244244
245245 public static class M_775 {
246- public static final double maxRPM = 18700 ;
246+ public static final int maxRPM = 18700 ;
247247 }
248248 }
249249
250250 /** Drivetrain Motors */
251251 public static class Drivetrain {
252252 // Drivetrain Motors
253253 /** Gear Ratio of Motor */
254- public static final double gearRatio = 0 ; //TODO: Find This
254+ public static final int gearRatio = 0 ; //TODO: Find This
255255 /** Max Velocity of Motor*/
256256 public static final double maxVelocity = (motorTypes .Falcon500 .maxRPM /600 ) * (2048 /gearRatio );
257- public static final double maxRPM = motorTypes .Falcon500 .maxRPM ;
258- public static WPI_TalonFX leftSide = Robot .leftMaster ;
259- public static WPI_TalonFX rightSide = Robot .rightMaster ;
257+ public static final int maxRPM = motorTypes .Falcon500 .maxRPM ;
258+ public static WPI_TalonFX leftMotor = Robot .leftMaster ;
259+ public static WPI_TalonFX rightMotor = Robot .rightMaster ;
260260 }
261261
262262 /** Climber Motors */
263263 public static class Climbers {
264264 /** Climb Rotation Motor */
265265 public static class ClimbRotation {
266266 /** Gear Ratio of Motor */
267- public static final double gearRatio = 0 ; //TODO: Find This
267+ public static final int gearRatio = 10 ;
268268 /** Max Velocity of Motor*/
269269 public static final double maxVelocity = (motorTypes .Falcon500 .maxRPM /600 ) * (2048 /gearRatio );
270- public static final double maxRPM = motorTypes .Falcon500 .maxRPM ;
270+ public static final int maxRPM = motorTypes .Falcon500 .maxRPM ;
271271 public static WPI_TalonFX motor = Robot .climbRotation ;
272272 }
273273 /** Climb Extension Motor */
274274 public static class ClimbExtension {
275275 /** Gear Ratio of Motor */
276- public static final double gearRatio = 0 ; //TODO: Find This
276+ public static final int gearRatio = 10 ;
277277 /** Max Velocity of Motor*/
278278 public static final double maxVelocity = (motorTypes .Falcon500 .maxRPM /600 ) * (2048 /gearRatio );
279- public static final double maxRPM = motorTypes .Falcon500 .maxRPM ;
279+ public static final int maxRPM = motorTypes .Falcon500 .maxRPM ;
280280 public static WPI_TalonFX motor = Robot .climbExtension ;
281281 }
282282 }
@@ -286,10 +286,10 @@ public static class Shooter {
286286 /** Flywheel Motor */
287287 public static class Flywheel {
288288 /** Gear Ratio of Motor */
289- public static final double gearRatio = 4 ;
289+ public static final int gearRatio = 4 ;
290290 /** Max Velocity of Motor*/
291291 public static final double maxVelocity = (motorTypes .Falcon500 .maxRPM /600 ) * (2048 /gearRatio );
292- public static final double maxRPM = motorTypes .Falcon500 .maxRPM ;
292+ public static final int maxRPM = motorTypes .Falcon500 .maxRPM ;
293293 public static WPI_TalonFX motor = Robot .shooterFly ;
294294 }
295295 }
@@ -299,19 +299,19 @@ public static class Intake {
299299 /** Roller Motor */
300300 public static class Rollers {
301301 /** Gear Ratio of Motor */
302- public static final double gearRatio = 0 ; //TODO: Find This
302+ public static final int gearRatio = 7 ;
303303 /** Max Velocity of Motor*/
304304 public static final double maxVelocity = (motorTypes .M_775 .maxRPM /600 ) * (2048 /gearRatio );
305- public static final double maxRPM = motorTypes .M_775 .maxRPM ;
305+ public static final int maxRPM = motorTypes .M_775 .maxRPM ;
306306 public static TalonSRX motor = Robot .rollers ;
307307 }
308308 /** Wrist Motor */
309309 public static class Wrist {
310310 /** Gear Ratio of Motor */
311- public static final double gearRatio = 0 ; //TODO: Find This
311+ public static final int gearRatio = 10 ;
312312 /** Max Velocity of Motor*/
313313 public static final double maxVelocity = (motorTypes .Falcon500 .maxRPM /600 ) * (2048 /gearRatio );
314- public static final double maxRPM = motorTypes .Falcon500 .maxRPM ;
314+ public static final int maxRPM = motorTypes .Falcon500 .maxRPM ;
315315 public static WPI_TalonFX motor = Robot .wrist ;
316316
317317 }
0 commit comments