Package edu.wpi.first.wpilibj
Interface PIDOutput
- All Known Implementing Classes:
PIDBase
,PIDController
,PIDMotorController
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @Deprecated(since="2020", forRemoval=true) public interface PIDOutput
Deprecated, for removal: This API element is subject to removal in a future version.
Use DoubleConsumer and new PIDController class.
This interface allows PIDController to write it's results to its output.
-
Method Summary
Modifier and Type Method Description void
pidWrite(double output)
Deprecated, for removal: This API element is subject to removal in a future version.Set the output to the value calculated by PIDController.
-
Method Details
-
pidWrite
Deprecated, for removal: This API element is subject to removal in a future version.Set the output to the value calculated by PIDController.- Parameters:
output
- the value calculated by PIDController
-