Skip to content
Open
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
8 changes: 0 additions & 8 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());

}

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public RobotContainer() {
// m_feederArmCommand = new ToggleFeederArmCommand(m_intakeArm);


configureSubsystems();
configureButtonBindings();
//configureSubsystems();
//configureButtonBindings();
// Tank drive
if (kUseTankDrive) {
/* m_robotDrive.setDefaultCommand(
Expand All @@ -98,15 +98,15 @@ 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)),
//Get y value of left analog stick. Then set the motor speed to a max of 50% when the left trigger is less then half pulled otherwise set the max speed to 100%
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)
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down