Skip to content

Commit

Permalink
2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ToborUser committed Feb 3, 2024
1 parent 8b7617b commit 144bac0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit;
import org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit;
import org.firstinspires.ftc.teamcode.operations.inputs.DeviceNames;
import org.firstinspires.ftc.teamcode.operations.inputs.TouchSensorButton;
import org.firstinspires.ftc.teamcode.operations.outputs.motors.armLift.arm.ConfigureArm;
import org.firstinspires.ftc.teamcode.operations.outputs.motors.armLift.shaft.ConfigureShaft;
import org.firstinspires.ftc.teamcode.operations.outputs.motors.servos.claw.ConfigureClaw;
Expand All @@ -55,6 +56,7 @@ public static void initFieldCentric(HardwareMap hardwareMap, Telemetry telemetry
arm = hardwareMap.get(DcMotorEx.class, "arm");
shaft = hardwareMap.get(DcMotor.class, "shaft");
claw = hardwareMap.get(Servo.class, "claw");
TouchSensorButton.mapDigital(hardwareMap); // button
}

public static void runLoopFieldCentric(Telemetry telemetry, Gamepad gamepad1, Gamepad gamepad2, double speed){
Expand Down

0 comments on commit 144bac0

Please sign in to comment.