Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




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

Search: