mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpilib] Remove PIDController, PIDOutput, PIDSource
Move them to the old commands vendordep so that PIDCommand and PIDSubsystem continue to work. This also removes Filter and LinearDigitalFilter.
This commit is contained in:
@@ -93,7 +93,4 @@ public class ExampleSmartMotorController implements SpeedController {
|
||||
|
||||
@Override
|
||||
public void stopMotor() {}
|
||||
|
||||
@Override
|
||||
public void pidWrite(double output) {}
|
||||
}
|
||||
|
||||
@@ -97,7 +97,4 @@ public class ExampleSmartMotorController implements SpeedController {
|
||||
|
||||
@Override
|
||||
public void stopMotor() {}
|
||||
|
||||
@Override
|
||||
public void pidWrite(double output) {}
|
||||
}
|
||||
|
||||
@@ -93,7 +93,4 @@ public class ExampleSmartMotorController implements SpeedController {
|
||||
|
||||
@Override
|
||||
public void stopMotor() {}
|
||||
|
||||
@Override
|
||||
public void pidWrite(double output) {}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public class Pivot extends PIDSubsystem {
|
||||
/** Set the motor speed based off of the PID output. */
|
||||
@Override
|
||||
protected void usePIDOutput(double output) {
|
||||
m_motor.pidWrite(output);
|
||||
m_motor.set(output);
|
||||
}
|
||||
|
||||
/** If the pivot is at its upper limit. */
|
||||
|
||||
Reference in New Issue
Block a user