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