Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deleted unused imports #138

Merged
merged 1 commit into from
Mar 23, 2024
Merged
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
6 changes: 2 additions & 4 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
import edu.wpi.first.hal.DriverStationJNI;
import edu.wpi.first.math.geometry.Pose2d;
import edu.wpi.first.wpilibj.TimedRobot;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.CommandScheduler;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import edu.wpi.first.wpilibj2.command.WaitCommand;
import frc.robot.autons.Auton;
import frc.robot.autons.AutonSelector;
import frc.robot.commands.LiftDownCommand;
Expand Down Expand Up @@ -73,8 +71,8 @@ public void disabledExit() {
@Override
public void autonomousInit() {
new SequentialCommandGroup(
new LiftDownCommand(),
new LiftUpCommand()).schedule();
new LiftDownCommand(),
new LiftUpCommand()).schedule();
driveTrain.zeroHeading();
autonomousCommand = autonSelector.chooseAuton();
// if (DriverStation.isFMSAttached()) {
Expand Down
7 changes: 0 additions & 7 deletions src/main/java/frc/robot/autons/ScoreInAmpWait.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@

import java.util.Optional;

import com.pathplanner.lib.commands.FollowPathCommand;

import frc.robot.subsystems.Acquisition;
import frc.robot.subsystems.Dashboard;
import edu.wpi.first.wpilibj.DriverStation.Alliance;
import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
import edu.wpi.first.wpilibj2.command.WaitCommand;
import frc.robot.commands.AcquisitionRunCommand;
import frc.robot.commands.ScoreNoteCommand;
import frc.robot.commands.ScoringElevatorPositionCommand;
import frc.robot.commands.ScoringElevatorPositionCommand.FinishActions;
Expand All @@ -18,8 +13,6 @@

public class ScoreInAmpWait extends Auton {

private Acquisition acquisition = Acquisition.getInstance();

public ScoreInAmpWait(Optional<Alliance> alliance) {
super(alliance);

Expand Down
1 change: 0 additions & 1 deletion src/main/java/frc/robot/subsystems/Dashboard.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import edu.wpi.first.wpilibj.shuffleboard.BuiltInWidgets;
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardTab;
import edu.wpi.first.wpilibj.shuffleboard.WidgetType;
import edu.wpi.first.wpilibj.smartdashboard.Field2d;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
Expand Down
7 changes: 0 additions & 7 deletions src/main/java/frc/robot/subsystems/DriveTrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@

package frc.robot.subsystems;

import com.pathplanner.lib.auto.AutoBuilder;
import com.pathplanner.lib.util.HolonomicPathFollowerConfig;
import com.pathplanner.lib.util.PIDConstants;
import com.pathplanner.lib.util.ReplanningConfig;

import com.revrobotics.CANSparkBase.IdleMode;

import com.ctre.phoenix6.hardware.Pigeon2;
Expand All @@ -20,10 +15,8 @@
import edu.wpi.first.math.kinematics.SwerveDriveOdometry;
import edu.wpi.first.math.kinematics.SwerveModulePosition;
import edu.wpi.first.math.kinematics.SwerveModuleState;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj2.command.SubsystemBase;

import frc.robot.constants.AutoConstants;
import frc.robot.constants.DriveConstants;
import frc.robot.libraries.MAXSwerveModule;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/frc/robot/subsystems/Lift.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import edu.wpi.first.wpilibj.Servo;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import frc.robot.commands.LiftDownCommand;
import frc.robot.constants.LiftConstants;
import frc.robot.constants.NeoMotorConstants;

Expand Down
Loading