EasyStack Docs

PIDControllers

Esta página aún no está traducida. Se muestra la versión en inglés.

#PID Controllers

PID controllers compare a measurement with a target and calculate an output to reduce the difference. Their proportional, integral, and derivative terms work together to shape the response, correct persistent error, and respond to changes in the mechanism's behavior. The appropriate gains depend on the mechanism, measurement units, and output units.

This section covers EasyPIDController, EasyPIDFController, and EasyPIDControllerEx. Learn how to create each controller, configure its target, calculate an output, and inspect tracking error. The guides explain timing behavior, derivative calculations, tolerance checks, and resetting internal state before a new control session.

Additional topics include target-proportional feedforward, integral limits, integral zones, and continuous input for wrapped measurements such as angles. Examples show how to apply the returned output to a motor while keeping units consistent and limiting the final command. Differences between implementations are explained so you can choose the behavior your application needs.

Última actualización 2026-11-16

EasyStack - FTC Java library

This site records page views of visitors to understand how the documentation is used. Nothing is sold or shared with third parties.