summaryrefslogtreecommitdiff
path: root/src/main/java/frc/robot/Robot.java
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2024-02-19 23:53:04 +0200
committerkartofen <mladenovnasko0@gmail.com>2024-02-19 23:53:04 +0200
commitc6d58f5fafb56f8ae295366eadbc247e0217acc8 (patch)
tree0c859d765d1e1c4ab89fea99aef4658a0995dafa /src/main/java/frc/robot/Robot.java
parentd857877ee292202ba3a469b3821561ff0d4218d2 (diff)
useful message
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