mirror of
https://github.com/TimeCrafters/UltimateGoal.git
synced 2025-12-18 06:52:35 +00:00
Aubrey stuff
This commit is contained in:
@@ -21,9 +21,8 @@ public class AubreyFirstState extends CyberarmState {
|
|||||||
@Override
|
@Override
|
||||||
public void exec() {
|
public void exec() {
|
||||||
UwU= -engine.gamepad1.left_stick_y ;
|
UwU= -engine.gamepad1.left_stick_y ;
|
||||||
OwO= -engine.gamepad1. right_stick_y;
|
OwO= -engine.gamepad1.right_stick_y;
|
||||||
robot.driveBackLeft.setPower(UwU);
|
if(robot.wobbleTouchSensor.isPressed()) {
|
||||||
if(robot. limitSwitch. isPressed()) {
|
|
||||||
double power = .5;
|
double power = .5;
|
||||||
robot.driveFrontLeft.setPower(-power);
|
robot.driveFrontLeft.setPower(-power);
|
||||||
robot.driveFrontRight.setPower(power);
|
robot.driveFrontRight.setPower(power);
|
||||||
@@ -33,8 +32,9 @@ public class AubreyFirstState extends CyberarmState {
|
|||||||
|
|
||||||
}else {
|
}else {
|
||||||
robot.driveFrontLeft.setPower(UwU);
|
robot.driveFrontLeft.setPower(UwU);
|
||||||
robot.driveBackRight. setPower(OwO);
|
robot.driveBackRight.setPower(OwO);
|
||||||
robot.driveBackLeft. setPower(OwO);
|
robot.driveBackLeft.setPower(OwO);
|
||||||
|
robot.driveBackLeft.setPower(UwU);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user