Hello,
In lab_13a project, I'd like to align the eQEP angle with the rotor angle without using the following code in proj_lab13a.c :
if((EST_getState(obj->estHandle) == EST_State_Rs) && (USER_MOTOR_TYPE == MOTOR_Type_Pm))
{
ENC_setZeroOffset(encHandle, (uint32_t)(HAL_getQepPosnMaximum(halHandle) - HAL_getQepPosnCounts(halHandle)));
}
any solutions?
best regards,