@@ -151,7 +151,7 @@ public static class RobotPorts {
151
151
/** Physical Measurements */
152
152
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
153
153
// Robot information
154
- public static final double robotWeight = 86.484 ;
154
+ public static final double robotWeight = 86.484 ; // lbs
155
155
156
156
public static final double botlengthInches = 30 ;
157
157
public static final double botlengthMeters = (botlengthInches /39.37 );
@@ -175,7 +175,7 @@ public static class RobotMeasurement { // One time Chirayu told me we should do
175
175
/** Shooter and Flywheel specifc measurments */
176
176
public static class ShooterData {
177
177
// 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
179
179
180
180
// Flywheel
181
181
public static final double flywheelTransferPercentage = 0.35 ;
@@ -239,44 +239,44 @@ public static enum SpeedTypes {
239
239
}
240
240
241
241
public static class Falcon500 {
242
- public static final double maxRPM = 6380 ;
242
+ public static final int maxRPM = 6380 ;
243
243
}
244
244
245
245
public static class M_775 {
246
- public static final double maxRPM = 18700 ;
246
+ public static final int maxRPM = 18700 ;
247
247
}
248
248
}
249
249
250
250
/** Drivetrain Motors */
251
251
public static class Drivetrain {
252
252
// Drivetrain Motors
253
253
/** Gear Ratio of Motor */
254
- public static final double gearRatio = 0 ; //TODO: Find This
254
+ public static final int gearRatio = 0 ; //TODO: Find This
255
255
/** Max Velocity of Motor*/
256
256
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 ;
260
260
}
261
261
262
262
/** Climber Motors */
263
263
public static class Climbers {
264
264
/** Climb Rotation Motor */
265
265
public static class ClimbRotation {
266
266
/** Gear Ratio of Motor */
267
- public static final double gearRatio = 0 ; //TODO: Find This
267
+ public static final int gearRatio = 10 ;
268
268
/** Max Velocity of Motor*/
269
269
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 ;
271
271
public static WPI_TalonFX motor = Robot .climbRotation ;
272
272
}
273
273
/** Climb Extension Motor */
274
274
public static class ClimbExtension {
275
275
/** Gear Ratio of Motor */
276
- public static final double gearRatio = 0 ; //TODO: Find This
276
+ public static final int gearRatio = 10 ;
277
277
/** Max Velocity of Motor*/
278
278
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 ;
280
280
public static WPI_TalonFX motor = Robot .climbExtension ;
281
281
}
282
282
}
@@ -286,10 +286,10 @@ public static class Shooter {
286
286
/** Flywheel Motor */
287
287
public static class Flywheel {
288
288
/** Gear Ratio of Motor */
289
- public static final double gearRatio = 4 ;
289
+ public static final int gearRatio = 4 ;
290
290
/** Max Velocity of Motor*/
291
291
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 ;
293
293
public static WPI_TalonFX motor = Robot .shooterFly ;
294
294
}
295
295
}
@@ -299,19 +299,19 @@ public static class Intake {
299
299
/** Roller Motor */
300
300
public static class Rollers {
301
301
/** Gear Ratio of Motor */
302
- public static final double gearRatio = 0 ; //TODO: Find This
302
+ public static final int gearRatio = 7 ;
303
303
/** Max Velocity of Motor*/
304
304
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 ;
306
306
public static TalonSRX motor = Robot .rollers ;
307
307
}
308
308
/** Wrist Motor */
309
309
public static class Wrist {
310
310
/** Gear Ratio of Motor */
311
- public static final double gearRatio = 0 ; //TODO: Find This
311
+ public static final int gearRatio = 10 ;
312
312
/** Max Velocity of Motor*/
313
313
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 ;
315
315
public static WPI_TalonFX motor = Robot .wrist ;
316
316
317
317
}
0 commit comments