How is "Stabilizer.thrust" calculated? #1306
-
Hello. I attempted to log the thrust based on motor rotation using the code provided in cflib: https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/motors/ramp.py However, upon running the code, I noticed that the entire thrust was logged, despite confirming that the rotation between the four motors was unbalanced. KakaoTalk_20240425_174619805.mp4I'm interested in knowing the thrust (possibly PWM) of each motor when they rotate in the same way. I believe this thrust corresponds to the input from "Stabilizer.thrust." I'm curious about how this "Stabilizer.thrust" value is calculated from the PWM of each motor. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
The variable It is then passed, together with roll/pitch/yaw control to the power distribution to generate actual PWM for each motors. The |
Beta Was this translation helpful? Give feedback.
From what I can tell it represents nothing more than a scaling of the value that comes out of the PID.