This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
src/main/java/com/team766/robot/rookie_bot Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,8 @@ public class AutonomousModes {
13
13
// define one or more different autonomous modes with it like this:
14
14
// new AutonomousMode("DriveFast", () -> new DriveStraight(1.0)),
15
15
// new AutonomousMode("DriveSlow", () -> new DriveStraight(0.4)),
16
- new AutonomousMode ("TurnRight" , () -> new TurnRight ()),
17
- new AutonomousMode ("DoNothing" , () -> new DoNothing ()),
18
- new AutonomousMode ("DriveStraight" , () -> new DriveStraight ()),
19
- new AutonomousMode ("DriveinaSquare" , () -> new DriveinaSquare ()),
20
- new AutonomousMode ("Auton" , () -> new DriveinaSquare ())
16
+ new AutonomousMode ("Auton" , () -> new Auton ()),
21
17
};
18
+
22
19
23
20
}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public void run(final Context context) {
51
51
Robot .intake .setintakePower (0 , 0 );
52
52
}
53
53
if (joystick0 .getButtonPressed (6 )) {
54
- Robot .intake .setintakePower (-.1 , -.55 );
54
+ Robot .intake .setintakePower (-0.13 , -0 .55 );
55
55
}
56
56
if (joystick0 .getButtonReleased (6 )) {
57
57
Robot .intake .setintakePower (0 , 0 );
Original file line number Diff line number Diff line change 5
5
import com .team766 .robot .rookie_bot .Robot ;
6
6
7
7
public class Auton extends Procedure {
8
+
8
9
public void run (final Context context ) {
9
10
Robot .intake .setintakePower (0.3 , 0.75 );
10
11
context .takeOwnership (Robot .drive );
You can’t perform that action at this time.
0 commit comments