Skip to content

Commit

Permalink
fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
legoguy1000 committed Jan 24, 2024
1 parent 3c66656 commit d66520b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ dependencies {
nativeRelease wpi.java.vendor.jniRelease(wpi.platforms.desktop)
simulationRelease wpi.sim.enableRelease()



}

// Simulation configuration (e.g. environment variables).
Expand Down
10 changes: 3 additions & 7 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
import frc.robot.subsystems.drive.Drivetrain;
import frc.robot.subsystems.drive.DrivetrainIO;
import frc.robot.subsystems.drive.DrivetrainVictorSP;

/**
* This class is where the bulk of the robot should be declared. Since Command-based is a
Expand All @@ -25,13 +26,8 @@ public class RobotContainer {
// Initialize AutoChooser Sendable
private final SendableChooser<String> autoChooser = new SendableChooser<>();

// Field Relative and openLoop Variables
boolean fieldRelative;
boolean openLoop;
private Drivetrain drivetrain;


/* Subsystems */
private Drivetrain drivetrain;

/**
* The container for the robot. Contains subsystems, OI devices, and commands.
Expand All @@ -41,7 +37,7 @@ public RobotContainer() {
autoChooser.setDefaultOption("Wait 1 Second", "wait");
if (Robot.isReal()) {
// Use Real HW
drivetrain = new Drivetrain(new DrivetrainIO() {});
drivetrain = new Drivetrain(new DrivetrainVictorSP());
} else if (Robot.isSimulation()) {
// DO SIMULATION THINGS
// drivetrain = new Drivetrain(new DrivetrainSim() {});
Expand Down

0 comments on commit d66520b

Please sign in to comment.