When we run a PID loop to run to position, the motor powers change every loop.
Sometimes these changes are negligible, and so it can be beneficial to only update the motor powers once they have changed from their previous value by a significant amount (ex .02)
This would speed up loop speeds and improve our control, especially near the end of the movement, where the motor speed changes are very small.
When we run a PID loop to run to position, the motor powers change every loop.
Sometimes these changes are negligible, and so it can be beneficial to only update the motor powers once they have changed from their previous value by a significant amount (ex .02)
This would speed up loop speeds and improve our control, especially near the end of the movement, where the motor speed changes are very small.