This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
28035电机套件中有offset的补偿程序
offsetA= K1*offsetA + K2*(AdcMirror.ADCRESULT1)*0.00024414; //Phase A offset
offsetB= K1*offsetB + K2*(AdcMirror.ADCRESULT2)*0.00024414; //Phase B offset
offsetC= K1*offsetC + K2*(AdcMirror.ADCRESULT3)*0.00024414; //Phase C offset
运行时显示的是offsetA=0.5,我想问一下这个0.5是怎么计算得到的,为什么我把这段程序移植到别的地方,offsetA=0