From 3befdbe4ec2b8c2db4ee33214f59da2745dcec12 Mon Sep 17 00:00:00 2001 From: Teriyaki3712 Date: Wed, 16 Oct 2024 18:11:24 -0500 Subject: [PATCH] delete sutff --- src/main/java/frc/robot/subsystems/Intake.java | 5 +++++ .../subsystems/drive/DrivetrainVictorSP.java | 16 +++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) create mode 100644 src/main/java/frc/robot/subsystems/Intake.java diff --git a/src/main/java/frc/robot/subsystems/Intake.java b/src/main/java/frc/robot/subsystems/Intake.java new file mode 100644 index 0000000..8caafa2 --- /dev/null +++ b/src/main/java/frc/robot/subsystems/Intake.java @@ -0,0 +1,5 @@ +package frc.robot.subsystems; + +public class Intake { + +} diff --git a/src/main/java/frc/robot/subsystems/drive/DrivetrainVictorSP.java b/src/main/java/frc/robot/subsystems/drive/DrivetrainVictorSP.java index 37fd68c..45ada20 100644 --- a/src/main/java/frc/robot/subsystems/drive/DrivetrainVictorSP.java +++ b/src/main/java/frc/robot/subsystems/drive/DrivetrainVictorSP.java @@ -9,11 +9,7 @@ * Drivetrain VictorSP */ public class DrivetrainVictorSP implements DrivetrainIO { - private final VictorSP left1 = new VictorSP(4); - private final VictorSP left2 = new VictorSP(5); - - private final VictorSP right1 = new VictorSP(6); - private final VictorSP right2 = new VictorSP(7); + //create all 4 directions for both motars private AHRS gyro = new AHRS(SPI.Port.kMXP); @@ -21,10 +17,8 @@ public class DrivetrainVictorSP implements DrivetrainIO { * Drivetrain VictorSP */ public DrivetrainVictorSP() { - left1.addFollower(left2); - right1.addFollower(right2); - right1.setInverted(true); - right2.setInverted(true); + //make the motars follow each other and then make them inverted + } @Override @@ -36,8 +30,8 @@ public void updateInputs(DrivetrainIOInputs inputs) { * Drive Voltage */ public void setDriveVoltage(double lvolts, double rvolts) { - left1.set(lvolts); - right1.set(rvolts); + //set the volts to the motar + } }