Hacker News new | past | comments | ask | show | jobs | submit login

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.



That's a good idea, I'll add them.

Edit: Done.


You should consider resetting your integral error when you accept new set points.


I agree, I pushed a new update.

Also, I adjusted the defaults for a snappier response with a bit of satisfying overshoot


This is a special case. If there were gravity acting on the ball the integrator would be required to maintain altitude.


Ya, but then you would also probably use a separate controller for each dimension.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: