How to obtain thrust from PWM
Re: How to obtain thrust from PWM
I think you already figured it out. The motor.m1 is the thrust before compensated by battery voltage and pwm.m1_pwm is after (we should really rename these log variables...). And yes, pm.vbat is used as the battery voltage.
Re: How to obtain thrust from PWM
Yeah, thank you.
It is appreciated if you could clarify which PWM data should be used in the formula: F = 11.09−39.08 p−9.53v+20.57 p^2 + 38.43 pv.
Since the pwm.m1_pwm is already compensated, it feels more reasonable to use the raw PWM in the formula.
However, in the post from Thu Apr 01, 2021, the compensated pwm is used and whoenig did not point out the problem, which makes me confused about it.
Thank you.
It is appreciated if you could clarify which PWM data should be used in the formula: F = 11.09−39.08 p−9.53v+20.57 p^2 + 38.43 pv.
Since the pwm.m1_pwm is already compensated, it feels more reasonable to use the raw PWM in the formula.
However, in the post from Thu Apr 01, 2021, the compensated pwm is used and whoenig did not point out the problem, which makes me confused about it.
Thank you.