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

Commit b21e3f1

Browse files
committed
changed setSetpoint methods' names
1 parent 99141aa commit b21e3f1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public PIDDrive(double targ) {
2222
protected void initialize() {
2323
Robot.dt.resetEnc();
2424
Robot.dt.enableMovePid();
25-
Robot.dt.setSetMove(target);
25+
Robot.dt.setMoveSetpoint(target);
2626
}
2727

2828
// Called repeatedly when this Command is scheduled to run

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public PIDTurn(double targ) {
2121
// Called just before this Command runs the first time
2222
protected void initialize() {
2323
Robot.dt.resetAHRS();
24-
Robot.dt.setSetTurn(target);
24+
Robot.dt.setTurnSetpoint(target);
2525
Robot.dt.enableTurnPid();
2626
}
2727

Robot2018/src/org/usfirst/frc/team199/Robot2018/subsystems/Drivetrain.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public void enableTurnPid() {
227227
* @param set
228228
* The value to set the setPoint at
229229
*/
230-
public void setSetTurn(double set) {
230+
public void setTurnSetpoint(double set) {
231231
turnController.setSetpoint(set);
232232
}
233233

@@ -251,7 +251,7 @@ public void disableMovePid() {
251251
* @param set
252252
* The value to set the setPoint at
253253
*/
254-
public void setSetMove(double set) {
254+
public void setMoveSetpoint(double set) {
255255
moveController.setSetpoint(set);
256256
}
257257

0 commit comments

Comments
 (0)