I am a brushless motor hobbyist and am happy to see this open source project. I have a question about encoder linearization:
in calibration.c file
int lut_offset = (ENC_CPR-cal->error_arr[0])*N_LUT/ENC_CPR
I think the lut_offset should be cal->error_arr[0]*N_LUT/ENC_CPR. What did I do wrong
I am a brushless motor hobbyist and am happy to see this open source project. I have a question about encoder linearization: in calibration.c file
int lut_offset = (ENC_CPR-cal->error_arr[0])*N_LUT/ENC_CPR
I think the lut_offset should becal->error_arr[0]*N_LUT/ENC_CPR
. What did I do wrong