屎1.1
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
package frc.robot;
|
package frc.robot;
|
||||||
|
import edu.wpi.first.math.geometry.Pose2d;
|
||||||
|
import edu.wpi.first.math.geometry.Rotation2d;
|
||||||
import edu.wpi.first.wpilibj.TimedRobot;
|
import edu.wpi.first.wpilibj.TimedRobot;
|
||||||
import edu.wpi.first.wpilibj2.command.Command;
|
import edu.wpi.first.wpilibj2.command.Command;
|
||||||
import edu.wpi.first.wpilibj2.command.CommandScheduler;
|
import edu.wpi.first.wpilibj2.command.CommandScheduler;
|
||||||
|
|||||||
@@ -74,6 +74,15 @@ public class RobotContainer {
|
|||||||
|
|
||||||
|
|
||||||
public RobotContainer() {
|
public RobotContainer() {
|
||||||
|
|
||||||
|
Pose2d startingPose = Constants.StartingPoints.Red.Point2;
|
||||||
|
drivetrain.resetPose(startingPose);
|
||||||
|
configueSwerve();
|
||||||
|
configueShooter();
|
||||||
|
configueClimber();
|
||||||
|
bingdingLED();
|
||||||
|
configueIntaker();
|
||||||
|
//configureBindings();
|
||||||
Autocommand.preNameCommands(
|
Autocommand.preNameCommands(
|
||||||
climberSubsystem,
|
climberSubsystem,
|
||||||
IntakerSubsystem,
|
IntakerSubsystem,
|
||||||
@@ -82,16 +91,9 @@ public class RobotContainer {
|
|||||||
driveControls,
|
driveControls,
|
||||||
shooterControls
|
shooterControls
|
||||||
);
|
);
|
||||||
|
|
||||||
SignalLogger.enableAutoLogging(false);
|
SignalLogger.enableAutoLogging(false);
|
||||||
autoChooser = AutoBuilder.buildAutoChooser();
|
autoChooser = AutoBuilder.buildAutoChooser();
|
||||||
SmartDashboard.putData("Auto Chooser", autoChooser);
|
SmartDashboard.putData("Auto Chooser", autoChooser);
|
||||||
configueSwerve();
|
|
||||||
configueShooter();
|
|
||||||
configueClimber();
|
|
||||||
bingdingLED();
|
|
||||||
configueIntaker();
|
|
||||||
//configureBindings();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ====================== */
|
/* ====================== */
|
||||||
|
|||||||
Reference in New Issue
Block a user