Added shooter stuff to robot class

This commit is contained in:
2025-11-01 12:01:50 -05:00
parent b3704556c4
commit 846a0cccf3

View File

@@ -18,11 +18,17 @@ public class Robot {
public DcMotorEx intake;
public DcMotorEx shooter1;
public DcMotorEx shooter2;
public Servo hood;
public Servo rejecter;
public Robot (HardwareMap hardwareMap) {
//Define components w/ hardware map
@@ -35,6 +41,15 @@ public class Robot {
intake = hardwareMap.get(DcMotorEx.class, "intake");
rejecter = hardwareMap.get(Servo.class, "rejecter");
shooter1 = hardwareMap.get(DcMotorEx.class, "shooter1");
shooter2 = hardwareMap.get(DcMotorEx.class, "shooter2");
hood = hardwareMap.get(Servo.class, "hood");