From 48e5436da3efd44363e69228564440694c064079 Mon Sep 17 00:00:00 2001 From: penguinencounter <49845522+penguinencounter@users.noreply.github.com> Date: Sat, 3 Aug 2024 20:18:23 -0700 Subject: [PATCH] rename package --- .../org/firstinspires/ftc/teamcode/EncoderTrackingTest.java | 4 ++-- .../main/java/org/firstinspires/ftc/teamcode/Hardware.java | 2 +- .../java/org/firstinspires/ftc/teamcode/OdometryTeleOp.java | 4 ++-- .../java/org/firstinspires/ftc/teamcode/Pose2PoseTest.java | 6 +++--- .../{localization => mmooover}/EncoderTracking.java | 2 +- .../ftc/teamcode/{localization => mmooover}/Pose.kt | 3 +-- .../teamcode/{localization => mmooover}/TriOdoProvider.java | 2 +- 7 files changed, 11 insertions(+), 12 deletions(-) rename TeamCode/src/main/java/org/firstinspires/ftc/teamcode/{localization => mmooover}/EncoderTracking.java (97%) rename TeamCode/src/main/java/org/firstinspires/ftc/teamcode/{localization => mmooover}/Pose.kt (97%) rename TeamCode/src/main/java/org/firstinspires/ftc/teamcode/{localization => mmooover}/TriOdoProvider.java (94%) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/EncoderTrackingTest.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/EncoderTrackingTest.java index 56d0abab62f9..ad2a1f58d0d5 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/EncoderTrackingTest.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/EncoderTrackingTest.java @@ -7,8 +7,8 @@ import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.util.ElapsedTime; -import org.firstinspires.ftc.teamcode.localization.EncoderTracking; -import org.firstinspires.ftc.teamcode.localization.Pose; +import org.firstinspires.ftc.teamcode.mmooover.EncoderTracking; +import org.firstinspires.ftc.teamcode.mmooover.Pose; import java.util.List; diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Hardware.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Hardware.java index c74043bbbaf9..9d0970057818 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Hardware.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Hardware.java @@ -9,7 +9,7 @@ import org.firstinspires.ftc.teamcode.hardware.MotorSet; import org.firstinspires.ftc.teamcode.hardware.Reversed; import org.firstinspires.ftc.teamcode.hardware.ZeroPower; -import org.firstinspires.ftc.teamcode.localization.TriOdoProvider; +import org.firstinspires.ftc.teamcode.mmooover.TriOdoProvider; public class Hardware extends HardwareMapper implements TriOdoProvider { // left = left motor = exp 0 frontLeft diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/OdometryTeleOp.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/OdometryTeleOp.java index 0b7751f91229..5b750d283aa7 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/OdometryTeleOp.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/OdometryTeleOp.java @@ -7,8 +7,8 @@ import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; -import org.firstinspires.ftc.teamcode.localization.EncoderTracking; -import org.firstinspires.ftc.teamcode.localization.Pose; +import org.firstinspires.ftc.teamcode.mmooover.EncoderTracking; +import org.firstinspires.ftc.teamcode.mmooover.Pose; import java.util.List; diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Pose2PoseTest.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Pose2PoseTest.java index 8dac2b730429..bcdbef85f071 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Pose2PoseTest.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Pose2PoseTest.java @@ -10,9 +10,9 @@ import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.util.ElapsedTime; -import org.firstinspires.ftc.teamcode.localization.EncoderTracking; -import org.firstinspires.ftc.teamcode.localization.Motion; -import org.firstinspires.ftc.teamcode.localization.Pose; +import org.firstinspires.ftc.teamcode.mmooover.EncoderTracking; +import org.firstinspires.ftc.teamcode.mmooover.Motion; +import org.firstinspires.ftc.teamcode.mmooover.Pose; @Autonomous public class Pose2PoseTest extends LinearOpMode { diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/EncoderTracking.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/EncoderTracking.java similarity index 97% rename from TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/EncoderTracking.java rename to TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/EncoderTracking.java index 7bb75009ce3c..9fa03389f28b 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/EncoderTracking.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/EncoderTracking.java @@ -1,4 +1,4 @@ -package org.firstinspires.ftc.teamcode.localization; +package org.firstinspires.ftc.teamcode.mmooover; import static java.lang.Math.cos; import static java.lang.Math.sin; diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/Pose.kt b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/Pose.kt similarity index 97% rename from TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/Pose.kt rename to TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/Pose.kt index c6152c2ece87..c89f0cd24683 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/Pose.kt +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/Pose.kt @@ -1,7 +1,6 @@ -package org.firstinspires.ftc.teamcode.localization +package org.firstinspires.ftc.teamcode.mmooover import org.firstinspires.ftc.teamcode.hardware.MotorSet -import kotlin.contracts.contract import kotlin.math.abs import kotlin.math.cos import kotlin.math.hypot diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/TriOdoProvider.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/TriOdoProvider.java similarity index 94% rename from TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/TriOdoProvider.java rename to TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/TriOdoProvider.java index fc2a190d2edd..f51a234d1433 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/localization/TriOdoProvider.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mmooover/TriOdoProvider.java @@ -1,4 +1,4 @@ -package org.firstinspires.ftc.teamcode.localization; +package org.firstinspires.ftc.teamcode.mmooover; import com.qualcomm.robotcore.hardware.DcMotor;