Commit Hang Subsystem

This commit is contained in:
2025-01-23 15:47:35 -08:00
parent 2be683701b
commit 70d0a17d75
2 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,7 @@ public class PedroConstants {
public static final String WRIST_SERVO = "wrist-servo"; public static final String WRIST_SERVO = "wrist-servo";
public static final String ARM_SERVO = "arm-servo"; public static final String ARM_SERVO = "arm-servo";
public static final String THUMB_SERVO = "thumb-servo"; public static final String THUMB_SERVO = "thumb-servo";
public static final String HOOK = "skyhook";
/* /*
Pedro's parameters Pedro's parameters

View File

@ -1,5 +1,6 @@
package org.firstinspires.ftc.teamcode.subsystem; package org.firstinspires.ftc.teamcode.subsystem;
import static org.firstinspires.ftc.teamcode.PedroConstants.HOOK;
import static org.firstinspires.ftc.teamcode.PedroConstants.LIFT_SLIDE_LEFT_MOTOR; import static org.firstinspires.ftc.teamcode.PedroConstants.LIFT_SLIDE_LEFT_MOTOR;
import static org.firstinspires.ftc.teamcode.PedroConstants.LIFT_SLIDE_RIGHT_MOTOR; import static org.firstinspires.ftc.teamcode.PedroConstants.LIFT_SLIDE_RIGHT_MOTOR;
@ -15,7 +16,7 @@ public class HangMotorSubsystem {
public HangMotorSubsystem(HardwareMap hardwareMap) { public HangMotorSubsystem(HardwareMap hardwareMap) {
hang = hardwareMap.get(DcMotorEx.class, "skyhook"); hang = hardwareMap.get(DcMotorEx.class, HOOK);
} }