Skip to content

Commit

Permalink
learing - tictac.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ntt305 committed Oct 17, 2024
1 parent cca67ff commit af652fc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;

import org.firstinspires.ftc.robotcore.internal.camera.delegating.DelegatingCaptureSequence;

@Config
@TeleOp
public class NickTeleOp extends LinearOpMode {
Expand Down Expand Up @@ -57,6 +59,28 @@ public void runOpMode() throws InterruptedException {
Grabber.setPower(0.0);
}
}
// if (gamepad1.left_stick_y >.5 ) {
// leftFrontMotor.setPower(1.0);
// leftBackMotor.setPower(1.0);
// rightBackMotor.setPower(1.0);
// rightFrontMotor.setPower(1.0);
//
//
//
// } else if (gamepad1.left_stick_y <-.5 ) {
// leftFrontMotor.setPower(-1.0);
// leftBackMotor.setPower(-1.0);
// rightBackMotor.setPower(-1.0);
// rightFrontMotor.setPower(-1.0);
//
//
//
// } else {leftFrontMotor.setPower(0);
// leftBackMotor.setPower(0);
// rightBackMotor.setPower(0);
// rightFrontMotor.setPower(0);}
//

}
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package org.firstinspires.ftc.teamcode.opmode;

import android.graphics.Color;

public class tictacs {
public String material = "plastic";
public int TicTac = 200;
public String expiration = String.valueOf(2025);
public String Color = "red";
public tictacs TicTacs () {


return null;
}


Expand Down

0 comments on commit af652fc

Please sign in to comment.