Quote:
Originally Posted by martinrand
...generating a position setpoint seems to be the way to go. PID can come in later to compensate for the resulting error between theoretical position and actual position (from the encoder).
|
PID will use a position setpoint to figure out where you want the motor to turn to. I guess you could use some other method to get close to your setpoint and then use a PID to get it exact (or at least closer), but I don't see the benefit if you have to make and tune a PID anyway. Maybe you can clarify.