Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit e446501

Browse files
committed
format auto interfaces
ran eclipse format and put @OverRide behind comments
1 parent 846a565 commit e446501

3 files changed

Lines changed: 10 additions & 19 deletions

File tree

Robot2018/src/org/usfirst/frc/team199/Robot2018/DashboardInterface.java

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1-
/**
2-
*
3-
*/
41
package org.usfirst.frc.team199.Robot2018;
52

63
import edu.wpi.first.wpilibj.Sendable;
74
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
85

96
/**
10-
*
11-
* Will be able to: - display a value on smartdashboard with particular key and
12-
* object value, - modify key so that it can be used by dashboard widget - get a
13-
* value of particular type, accessing SmartDashboard as would be expected
14-
* except with a different key - two methods for each kind of getting, with and
15-
* without default values
16-
*
7+
* Directly copied from Robot2017 - kev
178
*/
189

1910
public interface DashboardInterface {
@@ -64,11 +55,11 @@ default double[] getNumArray(String key, double[] defaultValue) {
6455
}
6556

6657
/**
67-
* Converts the specified display key into one with its subsystem name
68-
* appended as a prefix, to be compatible with the Subsystem widget on
69-
* SmartDashboard for organizational purposes
58+
* Converts the specified display key into one with its subsystem name appended
59+
* as a prefix, to be compatible with the Subsystem widget on SmartDashboard for
60+
* organizational purposes
7061
*
71-
* @param key - The name of the original key
62+
* @param key The name of the original key
7263
* @return A modified key with prefix subsystem name
7364
*/
7465
default String getKey(String key) {

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/Autonomous.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,37 +29,37 @@ public Autonomous() {
2929
// arm.
3030
}
3131

32-
@Override
3332
/**
3433
* {@inheritDoc}
3534
*/
35+
@Override
3636
public Position getStartingPos() {
3737
// TODO
3838
return null;
3939
}
4040

41-
@Override
4241
/**
4342
* {@inheritDoc}
4443
*/
44+
@Override
4545
public Strategy[] getStrategies() {
4646
// TODO
4747
return null;
4848
}
4949

50-
@Override
5150
/**
5251
* {@inheritDoc}
5352
*/
53+
@Override
5454
public double getDelay() {
5555
// TODO
5656
return 0;
5757
}
5858

59-
@Override
6059
/**
6160
* {@inheritDoc}
6261
*/
62+
@Override
6363
public String pickScript() {
6464
// TODO
6565
return null;

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/TestAuto.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ public TestAuto() {
2929
// arm.
3030
}
3131

32-
@Override
3332
/**
3433
* {@inheritDoc}
3534
*/
35+
@Override
3636
public String getScriptToTest() {
3737
// TODO
3838
return null;

0 commit comments

Comments
 (0)