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

Commit

Permalink
Commit final code from laptop; ready for robot bench testing
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierCraw committed Nov 23, 2024
1 parent ec33b3d commit 17050e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/team766/robot/rookie_bot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ public class Robot implements RobotConfigurator {
// Declare mechanisms (as static fields) here
public static Drive drive;
public static Elevator elevator;
public static intake intake;
public static Intake intake;
@Override
public void initializeMechanisms() {
// Initialize mechanisms here
drive = new Drive();
elevator = new Elevator();
intake = new intake();
intake = new Intake();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
import com.team766.hal.MotorController;
import com.team766.hal.RobotProvider;

public class intake extends Mechanism {
public class Intake extends Mechanism {
private MotorController leftMotor;
private MotorController rightMotor;

public intake() {
public Intake() {
leftMotor = RobotProvider.instance.getMotor("intake.leftMotor");
rightMotor = RobotProvider.instance.getMotor("intake.rightMotor");
}
Expand Down

0 comments on commit 17050e3

Please sign in to comment.