From 32d481c03137c70f0000e34af31193894d33b8cd Mon Sep 17 00:00:00 2001 From: DanTheMan-byte Date: Sat, 3 Jan 2026 15:58:25 -0600 Subject: [PATCH] stash --- .../firstinspires/ftc/teamcode/utils/Robot.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/Robot.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/Robot.java index 0a0050c..079c72b 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/Robot.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/Robot.java @@ -4,6 +4,7 @@ import static org.firstinspires.ftc.teamcode.variables.HardwareConfig.*; import com.qualcomm.hardware.limelightvision.Limelight3A; import com.qualcomm.hardware.rev.RevHubOrientationOnRobot; +import com.qualcomm.robotcore.hardware.DcMotorEx; import com.qualcomm.robotcore.hardware.HardwareMap; import com.qualcomm.robotcore.hardware.IMU; @@ -15,20 +16,25 @@ public class Robot { public IMU imu; + public DcMotorEx shooter1; + + public DcMotorEx shooter2; + public Robot (HardwareMap hardwareMap) { //Define components w/ hardware map limelight3A = hardwareMap.get(Limelight3A.class, "limelight"); + shooter1 = hardwareMap.get(DcMotorEx.class, "s1"); + + shooter2 = hardwareMap.get(DcMotorEx.class, "s2"); + if (USING_LL) { limelight3A = hardwareMap.get(Limelight3A.class, "limelight"); limelight3A.start(); // This tells Limelight to start looking! } - - - imu = hardwareMap.get(IMU.class, "imu"); RevHubOrientationOnRobot.LogoFacingDirection logoFacingDirection = RevHubOrientationOnRobot.LogoFacingDirection.UP; @@ -39,9 +45,5 @@ public class Robot { imu.initialize(new IMU.Parameters(orientationOnRobot)); - - - - } }