Skip to content

Commit

Permalink
[#11] stopped initializing flywheel and pivot to prevent nullpointers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffthedoor committed Jan 12, 2024
1 parent 7fe10f1 commit ab05e9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public class RobotContainer extends LightningContainer {
XboxController coPilot = new XboxController(ControllerConstants.CopilotControllerPort); // CoPilot controller

Swerve drivetrain = TunerConstants.DriveTrain; // My drivetrain
Flywheel flywheel = new Flywheel();
Pivot pivot = new Pivot();

SwerveRequest.FieldCentric drive = new SwerveRequest.FieldCentric(); //TODO I want field-centric driving in open loop WE NEED TO FIGURE OUT WHAT Change beacuse with open loop is gone
SwerveRequest.SwerveDriveBrake brake = new SwerveRequest.SwerveDriveBrake();
Expand Down

0 comments on commit ab05e9f

Please sign in to comment.