blob: 7b2194c9b1cdcb82b5f3ee110ca32b857ed27f0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package org.usfirst.frc.team4272.robot2016;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
public class Autonomous {
private final Timer time = new Timer();
private final HwRobot robot;
public Autonomous(HwRobot robot) {
this.robot = robot;
time.reset();
time.start();
}
public Control run(Control c) {
if (time.get() < 15) {
}
else {
}
SmartDashboard.putNumber("autoTime", time.get());
return c;
}
}
|