make and initilize fields
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / driving / TurnForTime.java
CommitLineData
6bb7f8ac 1package org.usfirst.frc.team3501.robot.commands.driving;
be737780 2
5ac4d78e
ME
3import org.usfirst.frc.team3501.robot.Constants.Direction;
4
de0fd5e3 5import edu.wpi.first.wpilibj.Timer;
be737780
ME
6import edu.wpi.first.wpilibj.command.Command;
7
be737780
ME
8public class TurnForTime extends Command {
9
5ac4d78e 10 public TurnForTime(double seconds, Direction direction) {
de0fd5e3 11 Timer timer = new Timer();
5ac4d78e
ME
12 }
13
14 @Override
15 protected void initialize() {
16 }
17
18 @Override
19 protected void execute() {
20 /*
21 * if direction is right make the left motor run forward make the right
22 * motor run backward if direction is left make right motor run forward make
23 * the left motor run backward
24 */
25 }
26
27 @Override
28 protected boolean isFinished() {
29 /*
30 * when time is up return true
31 */
32 return false;
33 }
34
35 @Override
36 protected void end() {
37 }
38
39 @Override
40 protected void interrupted() {
41 }
be737780 42}