mode auto
This commit is contained in:
		| @@ -73,6 +73,6 @@ public class RobotContainer { | ||||
|   } | ||||
|  | ||||
|   public Command getAutonomousCommand() { | ||||
|     return null; | ||||
|     return autoChooser.getSelected(); | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -6,6 +6,9 @@ package frc.robot.subsystem; | ||||
|  | ||||
| import java.io.File; | ||||
| import java.io.IOException; | ||||
|  | ||||
|  | ||||
|  | ||||
| import edu.wpi.first.math.geometry.Translation2d; | ||||
| import edu.wpi.first.math.kinematics.SwerveModulePosition; | ||||
| import edu.wpi.first.wpilibj.Filesystem; | ||||
| @@ -25,7 +28,6 @@ public class Drive extends SubsystemBase { | ||||
|   } | ||||
|    | ||||
|   public Drive() { | ||||
|  | ||||
|      try { | ||||
|       this.swerveDrive = new SwerveParser(swerveJsonDirectory).createSwerveDrive(2); | ||||
|     } catch (IOException e) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user