diff --git a/src/main/java/frc/robot/Robot.java b/src/main/java/frc/robot/Robot.java index 559000f..23c4968 100644 --- a/src/main/java/frc/robot/Robot.java +++ b/src/main/java/frc/robot/Robot.java @@ -93,14 +93,6 @@ public void autonomousInit() { */ @Override public void autonomousPeriodic() { - // m_autonomousCommand.execute(); - if (autoTimer.get() < 0.7) { - DriveSub.tankDrive(-0.68, -0.68); - } else { - DriveSub.tankDrive(0, 0); - autoTimer.stop(); - } - System.out.println(autoTimer.get()); } diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 9b77058..82cda7d 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -86,8 +86,8 @@ public RobotContainer() { // m_feederArmCommand = new ToggleFeederArmCommand(m_intakeArm); - configureSubsystems(); - configureButtonBindings(); + //configureSubsystems(); + //configureButtonBindings(); // Tank drive if (kUseTankDrive) { /* m_robotDrive.setDefaultCommand( @@ -98,7 +98,7 @@ public RobotContainer() { m_robotDrive)); //Get y value of right analog stick. Then set the mmotor speed to a max of 50% when the left trigger is less than half pulled otherwise set the max speed to 100% */ - + /* m_robotDrive.setDefaultCommand( new RunCommand(() -> m_robotDrive .tankDrive((m_driveController.getRawAxis(1)), @@ -106,7 +106,7 @@ public RobotContainer() { m_driveController.getRawAxis(5)), m_robotDrive)); // .tankDrive(m_driveController.getRawAxis(1), m_driveController.getRawAxis(2)); - + */ } /* else { //arcadeDrive (delete what is in these paranthesis and uncomment the arcadeDrive so you would be left with: arcadeDrive) diff --git a/src/main/java/frc/robot/commands/DriveStraightWithDelay.java b/src/main/java/frc/robot/commands/DriveStraightWithDelay.java index 363fe35..1c29694 100644 --- a/src/main/java/frc/robot/commands/DriveStraightWithDelay.java +++ b/src/main/java/frc/robot/commands/DriveStraightWithDelay.java @@ -1,4 +1,4 @@ -package org.usfirst.frc.team2083.autocommands; +package frc.robot.commands; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.subsystems.DriveSubsystem;