This repository was archived by the owner on Sep 14, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Robot2018/src/org/usfirst/frc/team199/Robot2018 Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments