Motion Control (PID)
This page focuses on use of PID for controlling position of subsystems rather than velocity of subsystems(Haven’t had a shooting game yet) or other use cases(See AutoAlignMotionPlanner.java)
Overview
What is PID Control?
How PID Works (Simplified)
Example: Intake Deploy Subsystem Constants
Parameters
Parameter
Description
How to Tune the PID and Feedforward Constants
1. Find the Gravity Feedforward Constant, kG
2. Use Characterize.java to Obtain Feedforward Values
Characterize.java to Obtain Feedforward Values3. Add a Small Proportional Gain, kP
4. Begin with Conservative Second-Degree Motion Profiling
5. Gradually Increase Velocity and Acceleration
6. Add Derivative Gain, kD, to Reduce Overshoot
Last updated