From c6d58f5fafb56f8ae295366eadbc247e0217acc8 Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 19 Feb 2024 23:53:04 +0200 Subject: useful message --- src/main/java/frc/robot/Robot.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/main/java/frc/robot/Robot.java') 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 -- cgit v1.2.3