5 ms·
It's a shame that the PID values aren't exposed directly in text boxes but you can affect how the ball behaves (react faster/slower or cause under or overshoot)
by sjtrny 11y ago
It's a shame that the PID values aren't exposed directly in text boxes but you can affect how the ball behaves (react faster/slower or cause under or overshoot) by adjusting the kp, ki and kd values.
- nikital 11y agoThat's a good idea, I'll add them. Edit: Done.
- icegreentea 11y agoYou 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.