3 ms·
You should consider resetting your integral error when you accept new set points.
by icegreentea 11y ago
You should consider resetting your integral error when you accept new set points.
- nikital 11y agoI agree, I pushed a new update. Also, I adjusted the defaults for a snappier response with a bit of satisfying overshoot
- phkahler 11y agoThis is a special case. If there were gravity acting on the ball the integrator would be required to maintain altitude.
- icegreentea 11y agoYa, but then you would also probably use a separate controller for each dimension.