diff --git a/src/main/java/frc/robot/commands/AimWithLimelight.java b/src/main/java/frc/robot/commands/AimWithLimelight.java index 20414730..e0fb449f 100644 --- a/src/main/java/frc/robot/commands/AimWithLimelight.java +++ b/src/main/java/frc/robot/commands/AimWithLimelight.java @@ -103,7 +103,7 @@ private double getRotation() { if (rot > speedLimit) { rot = speedLimit; } - return rot; + return rot * drive.getMaximumAngularSpeed(); } /** @@ -113,7 +113,7 @@ private double getRotation() { * the target. */ private double getX() { - return getCurrentDistance() * driveStrength; + return getCurrentDistance() * driveStrength * drive.getMaximumSpeed(); } /**