Started intake class

This commit is contained in:
2025-10-31 21:16:08 -05:00
parent fe7d344420
commit b3704556c4
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package org.firstinspires.ftc.teamcode.subsystems;
import com.acmerobotics.dashboard.telemetry.MultipleTelemetry;
import com.arcrobotics.ftclib.gamepad.GamepadEx;
import com.qualcomm.robotcore.hardware.Gamepad;
import com.rowanmcalpin.nextftc.core.Subsystem;
import org.firstinspires.ftc.teamcode.utils.Robot;
public class Intake extends Subsystem {
public Intake (Robot robot, MultipleTelemetry telemetry, GamepadEx gamepad){
}
}

View File

@@ -3,6 +3,7 @@ package org.firstinspires.ftc.teamcode.utils;
import com.qualcomm.robotcore.hardware.DcMotorEx; import com.qualcomm.robotcore.hardware.DcMotorEx;
import com.qualcomm.robotcore.hardware.DcMotorImplEx; import com.qualcomm.robotcore.hardware.DcMotorImplEx;
import com.qualcomm.robotcore.hardware.HardwareMap; import com.qualcomm.robotcore.hardware.HardwareMap;
import com.qualcomm.robotcore.hardware.Servo;
public class Robot { public class Robot {
@@ -15,6 +16,10 @@ public class Robot {
public DcMotorEx backRight; public DcMotorEx backRight;
public DcMotorEx intake;
public Servo rejecter;
@@ -27,6 +32,11 @@ public class Robot {
backLeft = hardwareMap.get(DcMotorEx.class, "bl"); backLeft = hardwareMap.get(DcMotorEx.class, "bl");
backRight = hardwareMap.get(DcMotorEx.class, "br"); backRight = hardwareMap.get(DcMotorEx.class, "br");
intake = hardwareMap.get(DcMotorEx.class, "intake");
rejecter = hardwareMap.get(Servo.class, "rejecter");