@@ -26,9 +26,9 @@ public class DriveTank extends CommandBase {
26
26
*
27
27
* @param drivetrain the tank drivetrain this command operates on
28
28
* @param leftSpeedSupplier the double {@link Supplier} supplying the left side's speed (-1 to 1).
29
- * Positive values go forwards
29
+ * Positive values go forward
30
30
* @param rightSpeedSupplier the double {@link Supplier} supplying the right side's speed (-1 to 1).
31
- * Positive values go forwards
31
+ * Positive values go forward
32
32
* @param isFinished when to finish the command
33
33
* @param squareInputs whether to square the speed suppliers' values
34
34
*/
@@ -49,9 +49,9 @@ public DriveTank(TankDrivetrain drivetrain, Supplier<Double> leftSpeedSupplier,
49
49
*
50
50
* @param drivetrain the tank drivetrain this command operates on
51
51
* @param leftSpeedSupplier the double {@link Supplier} supplying the left side's speed (-1 to 1).
52
- * Positive values go forwards
52
+ * Positive values go forward
53
53
* @param rightSpeedSupplier the double {@link Supplier} supplying the right side's speed (-1 to 1).
54
- * Positive values go forwards
54
+ * Positive values go forward
55
55
* @param isFinished when to finish the command
56
56
*/
57
57
public DriveTank (TankDrivetrain drivetrain , Supplier <Double > leftSpeedSupplier ,
@@ -66,9 +66,9 @@ public DriveTank(TankDrivetrain drivetrain, Supplier<Double> leftSpeedSupplier,
66
66
*
67
67
* @param drivetrain the tank drivetrain this command operates on
68
68
* @param leftSpeedSupplier the double {@link Supplier} supplying the left side's speed (-1 to 1).
69
- * Positive values go forwards
69
+ * Positive values go forward
70
70
* @param rightSpeedSupplier the double {@link Supplier} supplying the right side's speed (-1 to 1).
71
- * Positive values go forwards
71
+ * Positive values go forward
72
72
* @param squareInputs whether to square the speed suppliers' values
73
73
*/
74
74
public DriveTank (TankDrivetrain drivetrain , Supplier <Double > leftSpeedSupplier ,
@@ -83,9 +83,9 @@ public DriveTank(TankDrivetrain drivetrain, Supplier<Double> leftSpeedSupplier,
83
83
*
84
84
* @param drivetrain the tank drivetrain this command operates on
85
85
* @param leftSpeedSupplier the double {@link Supplier} supplying the left side's speed (-1 to 1).
86
- * Positive values go forwards
86
+ * Positive values go forward
87
87
* @param rightSpeedSupplier the double {@link Supplier} supplying the right side's speed (-1 to 1).
88
- * Positive values go forwards
88
+ * Positive values go forward
89
89
*/
90
90
public DriveTank (TankDrivetrain drivetrain , Supplier <Double > leftSpeedSupplier ,
91
91
Supplier <Double > rightSpeedSupplier ) {
@@ -98,8 +98,8 @@ public DriveTank(TankDrivetrain drivetrain, Supplier<Double> leftSpeedSupplier,
98
98
* Positive values move the drivetrain forward.
99
99
*
100
100
* @param drivetrain the tank drivetrain this command operates on
101
- * @param leftSpeed the left side's speed (-1 to 1). Positive values go forwards
102
- * @param rightSpeed the right side's speed (-1 to 1). Positive values go forwards
101
+ * @param leftSpeed the left side's speed (-1 to 1). Positive values go forward
102
+ * @param rightSpeed the right side's speed (-1 to 1). Positive values go forward
103
103
* @param isFinished when to finish the command
104
104
* @param squareInputs whether to square the speed values
105
105
*/
@@ -114,8 +114,8 @@ public DriveTank(TankDrivetrain drivetrain, double leftSpeed,
114
114
* Positive values move the drivetrain forward. Does not square the inputs.
115
115
*
116
116
* @param drivetrain the tank drivetrain this command operates on
117
- * @param leftSpeed the left side's speed (-1 to 1). Positive values go forwards
118
- * @param rightSpeed the right side's speed (-1 to 1). Positive values go forwards
117
+ * @param leftSpeed the left side's speed (-1 to 1). Positive values go forward
118
+ * @param rightSpeed the right side's speed (-1 to 1). Positive values go forward
119
119
* @param isFinished when to finish the command
120
120
*/
121
121
public DriveTank (TankDrivetrain drivetrain , double leftSpeed , double rightSpeed , Supplier <Boolean > isFinished ) {
@@ -128,8 +128,8 @@ public DriveTank(TankDrivetrain drivetrain, double leftSpeed, double rightSpeed,
128
128
* Positive values move the drivetrain forward.
129
129
*
130
130
* @param drivetrain the tank drivetrain this command operates on
131
- * @param leftSpeed the left side's speed (-1 to 1). Positive values go forwards
132
- * @param rightSpeed the right side's speed (-1 to 1). Positive values go forwards
131
+ * @param leftSpeed the left side's speed (-1 to 1). Positive values go forward
132
+ * @param rightSpeed the right side's speed (-1 to 1). Positive values go forward
133
133
* @param squareInputs whether to square the speed values
134
134
*/
135
135
public DriveTank (TankDrivetrain drivetrain , double leftSpeed , double rightSpeed , boolean squareInputs ) {
@@ -142,8 +142,8 @@ public DriveTank(TankDrivetrain drivetrain, double leftSpeed, double rightSpeed,
142
142
* Positive values move the drivetrain forward. Does not square the inputs.
143
143
*
144
144
* @param drivetrain the tank drivetrain this command operates on
145
- * @param leftSpeed the left side's speed (-1 to 1). Positive values go forwards
146
- * @param rightSpeed the right side's speed (-1 to 1). Positive values go forwards
145
+ * @param leftSpeed the left side's speed (-1 to 1). Positive values go forward
146
+ * @param rightSpeed the right side's speed (-1 to 1). Positive values go forward
147
147
*/
148
148
public DriveTank (TankDrivetrain drivetrain , double leftSpeed , double rightSpeed ) {
149
149
this (drivetrain , leftSpeed , rightSpeed , () -> false , false );
0 commit comments