Hi all
What do these two functions do?
STPOSCTL_setVelocityReference()
STPOSCTL_setAccelerationReference()
They are called by the Position Move subsystem, I know that much. I'm happy with how PosCtrl uses the position and feedback to adjust torque (with the bandwidth value) to get the motor to where it needs to be. Just not sure what these values do. In lab 13a which is just position control, these are both set to zero:
STPOSCTL_setVelocityReference(stObj->posCtlHandle, 0);
STPOSCTL_setAccelerationReference(stObj->posCtlHandle, 0);
Thanks in advance
Rich