package org.usfirst.frc.team3501.robot.commands.driving;
+import org.usfirst.frc.team3501.robot.Constants.Direction;
+
import edu.wpi.first.wpilibj.command.Command;
public class TurnForTime extends Command {
- public TurnForTime(double seconds) {
- }
-
- @Override
- protected void initialize() {
- }
-
- @Override
- protected void execute() {
- }
-
- @Override
- protected boolean isFinished() {
- return false;
- }
-
- @Override
- protected void end() {
- }
-
- @Override
- protected void interrupted() {
- }
+ public TurnForTime(double seconds, Direction direction) {
+ }
+
+ @Override
+ protected void initialize() {
+ }
+
+ @Override
+ protected void execute() {
+ /*
+ * if direction is right make the left motor run forward make the right
+ * motor run backward if direction is left make right motor run forward make
+ * the left motor run backward
+ */
+ }
+
+ @Override
+ protected boolean isFinished() {
+ /*
+ * when time is up return true
+ */
+ return false;
+ }
+
+ @Override
+ protected void end() {
+ }
+
+ @Override
+ protected void interrupted() {
+ }
}