Skip to content

Commit

Permalink
fix merge breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelLesirge committed Mar 1, 2024
1 parent 7f8908f commit f25b50a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
import frc.robot.Constants.SwerveModuleConstants;
import frc.robot.Constants.ArmConstants;
import frc.robot.commands.Autos;
import frc.robot.commands.AimAtTag;
import frc.robot.commands.ArmRotateTo;
import frc.robot.commands.AutoPosition;
import frc.robot.commands.ChassisRemoteControl;
import frc.robot.commands.SetLightstripColor;
import frc.robot.Constants.VisionConstants;
import frc.robot.subsystems.LightStrip;
Expand Down Expand Up @@ -168,9 +166,6 @@ public void setUpDriveController() {

xbox.a().whileTrue(new AutoPosition(drivetrain, vision));
}

drivetrain.setDefaultCommand(new ChassisRemoteControl(drivetrain, inputs));
}
}

public void setUpOperatorController() {
Expand Down
9 changes: 0 additions & 9 deletions src/main/java/frc/robot/commands/AutoPosition.java
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
package frc.robot.commands;

import java.util.Map;

import org.photonvision.targeting.PhotonTrackedTarget;

import edu.wpi.first.math.controller.PIDController;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.Commands;
import frc.robot.Constants.RobotMovementConstants;
import frc.robot.Constants.SwerveDrivetrainConstants;
import frc.robot.Constants.AutoConstants;
import frc.robot.subsystems.SwerveDrivetrain;
import frc.robot.subsystems.Vision;
import edu.wpi.first.math.geometry.Transform3d;
import edu.wpi.first.math.geometry.Translation2d;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.math.geometry.Rotation3d;
import edu.wpi.first.math.geometry.Transform2d;
import edu.wpi.first.math.geometry.Rotation2d;

// How to make Command: https://compendium.readthedocs.io/en/latest/tasks/commands/commands.html (ignore image instructions, code is out of date, just look at written general instructions)
Expand Down

0 comments on commit f25b50a

Please sign in to comment.