diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/subsystems/Intake.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/subsystems/Intake.java new file mode 100644 index 0000000..78ca95f --- /dev/null +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/subsystems/Intake.java @@ -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){ + + + + } +} 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 3fdec5c..4565c34 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 @@ -3,6 +3,7 @@ package org.firstinspires.ftc.teamcode.utils; import com.qualcomm.robotcore.hardware.DcMotorEx; import com.qualcomm.robotcore.hardware.DcMotorImplEx; import com.qualcomm.robotcore.hardware.HardwareMap; +import com.qualcomm.robotcore.hardware.Servo; public class Robot { @@ -15,6 +16,10 @@ public class Robot { public DcMotorEx backRight; + public DcMotorEx intake; + + public Servo rejecter; + @@ -27,6 +32,11 @@ public class Robot { backLeft = hardwareMap.get(DcMotorEx.class, "bl"); backRight = hardwareMap.get(DcMotorEx.class, "br"); + intake = hardwareMap.get(DcMotorEx.class, "intake"); + rejecter = hardwareMap.get(Servo.class, "rejecter"); + + +