Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions Group-3/src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
public final class Constants {



public static final class Shooter{
public static final int right_shooter_motor = 15;
public static final int left_shooter_motor = 16;


}

public static final class DriveTrain{
public static final int right_front = 13;
public static final int left_front = 11;
Expand Down
5 changes: 1 addition & 4 deletions Group-3/src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.XboxController;
import edu.wpi.first.wpilibj.XboxController.Button;
import frc.robot.commands.ArcadeDrive;
import frc.robot.commands.ExampleCommand;
import frc.robot.commands.TankDrive;
import frc.robot.subsystems.DriveTrain;
Expand Down Expand Up @@ -52,10 +51,8 @@ private void configureButtonBindings() {
XboxController pilot = new XboxController(0);

// Sets the driving default to Tank Drive so it is always active
// drivetrain.setDefaultCommand(new TankDrive(drivetrain, pilot::getLeftY, pilot::getRightY));

// Sets the driving default to Aracde Drive so it is always active
drivetrain.setDefaultCommand(new ArcadeDrive(drivetrain, pilot::getLeftY, pilot::getRightY));
drivetrain.setDefaultCommand(new TankDrive(drivetrain, pilot::getLeftY, pilot::getRightY));

}

Expand Down
77 changes: 0 additions & 77 deletions Group-3/src/main/java/frc/robot/commands/ArcadeDrive.java

This file was deleted.

7 changes: 0 additions & 7 deletions Group-3/src/main/java/frc/robot/subsystems/DriveTrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ public void tankDrive(double left_speed, double right_speed){
}


public void arcadeDrive(double speed, double rotation){
// left and right motors are controlled with the differential drive class
drive.arcadeDrive(speed, rotation * Constants.DriveTrain.rotation_speed); // why was it negative ration in the btab code?

}




@Override
Expand Down