Skip to content

Commit

Permalink
Fixed Red Lines
Browse files Browse the repository at this point in the history
Fixed all of the redlines, not sure if it works as the bot is in multiple pieces at the time of this commit being made.
  • Loading branch information
EuphoniumPlayer committed Mar 11, 2024
1 parent 4e1e667 commit 9dc2ba2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 7 additions & 5 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@
import frc.robot.Constants.OperatorConstants;
import frc.robot.commands.ConveyorCommand;
import frc.robot.commands.DumpControl;
import frc.robot.commands.FlyWCommand;
import frc.robot.commands.IntakeCommand;
import frc.robot.commands.swervedrive.drivebase.AbsoluteDriveAdv;
import frc.robot.subsystems.Conveyor;
import frc.robot.subsystems.Dump;
import frc.robot.subsystems.FlyWheel;
import frc.robot.subsystems.Intake;
import frc.robot.subsystems.swervedrive.SwerveSubsystem;
import frc.robot.commands.FlyWCommand;
import frc.robot.commands.ElevatorControl;
import frc.robot.subsystems.Elevator;
import frc.robot.subsystems.FlyWheel;
import java.io.File;

/**
Expand All @@ -53,16 +55,16 @@ public class RobotContainer {
private final Intake intake = new Intake();
private final Dump dump = new Dump();
private final Conveyor conveyor = new Conveyor();
private final FlyWheel flyWheel = new FlyWheel();
private final Flywheel elevator = new elevator();
private final FlyWheel FlyWheel = new FlyWheel();
private final Elevator elevator = new Elevator();

/** The container for the robot. Contains subsystems, OI devices, and commands. */
public RobotContainer() {

intake.setDefaultCommand(new IntakeCommand(intake));
dump.setDefaultCommand(new DumpControl(dump));
conveyor.setDefaultCommand(new ConveyorCommand(conveyor));
flyWheel.setDefaultCommand(new FlyWCommand(flyWheel));
FlyWheel.setDefaultCommand(new FlyWCommand(FlyWheel));
elevator.setDefaultCommand(new ElevatorControl(elevator));

// Configure the trigger bindings
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/frc/robot/subsystems/Elevator.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

package frc.robot.subsystems;

import edu.wpi.first.math.proto.System;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.PneumaticsModuleType;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
Expand All @@ -24,7 +23,7 @@ public class Elevator extends SubsystemBase {

/** Create new pnuematic system */
public Elevator() {
System.out.println("Pneumatic Elevator initialized");
System.out.println("Elevator Initialized");
SmartDashboard.putBoolean(getName(), false);
}

Expand Down

0 comments on commit 9dc2ba2

Please sign in to comment.