Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
uyiu
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier committed Nov 23, 2024
1 parent 0a1e8d8 commit 5ebae8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ public class AutonomousModes {
// define one or more different autonomous modes with it like this:
// new AutonomousMode("DriveFast", () -> new DriveStraight(1.0)),
// new AutonomousMode("DriveSlow", () -> new DriveStraight(0.4)),
new AutonomousMode("TurnRight", () -> new TurnRight()),
new AutonomousMode("DoNothing", () -> new DoNothing()),
new AutonomousMode("DriveStraight", () -> new DriveStraight()),
new AutonomousMode("DriveinaSquare", () -> new DriveinaSquare()),
new AutonomousMode("Auton", () -> new DriveinaSquare())
new AutonomousMode("Auton", () -> new Auton()),
};


}
2 changes: 1 addition & 1 deletion src/main/java/com/team766/robot/rookie_bot/OI.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void run(final Context context) {
Robot.intake.setintakePower(0, 0);
}
if (joystick0.getButtonPressed(6)) {
Robot.intake.setintakePower(-.1, -.55);
Robot.intake.setintakePower(-0.13, -0.55);
}
if (joystick0.getButtonReleased(6)) {
Robot.intake.setintakePower(0, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.team766.robot.rookie_bot.Robot;

public class Auton extends Procedure{

public void run(final Context context) {
Robot.intake.setintakePower(0.3, 0.75);
context.takeOwnership(Robot.drive);
Expand Down

0 comments on commit 5ebae8d

Please sign in to comment.