summaryrefslogtreecommitdiff
path: root/src/main/java/frc/robot/Robot.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/frc/robot/Robot.java')
-rw-r--r--src/main/java/frc/robot/Robot.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/main/java/frc/robot/Robot.java b/src/main/java/frc/robot/Robot.java
index 8a3f9b4..7afe5f8 100644
--- a/src/main/java/frc/robot/Robot.java
+++ b/src/main/java/frc/robot/Robot.java
@@ -58,17 +58,21 @@ public class Robot extends TimedRobot {
}
}
- GenericHID controller = Constants.controller;
+ // GenericHID controller = Constants.controller;
// CANSparkMax shooter_top = new CANSparkMax(21, MotorType.kBrushless);
// CANSparkMax shooter_bottom = new CANSparkMax(22, MotorType.kBrushless);
- CANSparkMax intakeL = new CANSparkMax(31, MotorType.kBrushless);
- CANSparkMax intakeR = new CANSparkMax(32, MotorType.kBrushless);
+ // CANSparkMax intakeL = new CANSparkMax(31, MotorType.kBrushless);
+ // CANSparkMax intakeR = new CANSparkMax(32, MotorType.kBrushless);
@Override
public void teleopPeriodic()
{
- intakeL.set(controller.getRawAxis(1));
- intakeR.set(controller.getRawAxis(3));
+ // shooter_top.setInverted(true);
+ // shooter_bottom.setInverted(true);
+ // shooter_top.set(controller.getRawAxis(1));
+ // shooter_bottom.set(controller.getRawAxis(3));
+ // intakeL.set(controller.getRawAxis(1));
+ // intakeR.set(controller.getRawAxis(3));
}
@Override