I am interested in writing a PID loop for a project I am working on and was looking at the AVR221 application note discrete PId controller. I was having a hard time finding the "included" code but found it here:
It often uses this "->" operation. What exactly does this do?
pid->sumError = 0; else if (error < -pid_st->maxError)
I also see it used here on page 8
Never seen this before and am having a hard time finding any discussions about this anywhere.