From 22d38b128965b17b2c4c84261d765988cbc8928f Mon Sep 17 00:00:00 2001 From: brotherhobo Date: Wed, 31 Jul 2024 15:23:57 -0400 Subject: [PATCH] hopefully fixes any issues with the class --- ...{ThreeWheelIMULocalizer.Java => ThreeWheelIMULocalizer.java} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/{ThreeWheelIMULocalizer.Java => ThreeWheelIMULocalizer.java} (100%) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/ThreeWheelIMULocalizer.Java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/ThreeWheelIMULocalizer.java similarity index 100% rename from TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/ThreeWheelIMULocalizer.Java rename to TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/ThreeWheelIMULocalizer.java index 675f46b..4760e1c 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/ThreeWheelIMULocalizer.Java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/ThreeWheelIMULocalizer.java @@ -86,6 +86,7 @@ public class ThreeWheelIMULocalizer extends Localizer { public ThreeWheelIMULocalizer(HardwareMap map, Pose setStartPose) { hardwareMap = map; imu = hardwareMap.get(IMU.class, "imu"); + // TODO: replace this with your IMU's orientation imu.initialize(new IMU.Parameters(new RevHubOrientationOnRobot(RevHubOrientationOnRobot.LogoFacingDirection.LEFT, RevHubOrientationOnRobot.UsbFacingDirection.UP))); @@ -95,7 +96,6 @@ public class ThreeWheelIMULocalizer extends Localizer { strafeEncoderPose = new Pose(6.9, 1, Math.toRadians(90)); - // TODO: replace these with your encoder ports leftEncoder = new Encoder(hardwareMap.get(DcMotorEx.class, "lb")); rightEncoder = new Encoder(hardwareMap.get(DcMotorEx.class, "lf"));