Commit Hang Subsystem
This commit is contained in:
@ -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
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user