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