PID Controller Output and PWM #1526
Unanswered
WoodyloveBo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I may not completely understand what you are asking for, please elaborate, but this is the general coordinate system we use. It is the controller that takes in setpoints and outputs PWM commands. We also have some documentation on the relationship between PWM and thrust. Also check out this relevant discussion: #1503 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I recently learned that the control outputs (u1, u2, u3, u4) from the PID controller are closer to the actual PWM values sent to the motors rather than force or torque values. Because of this, I am interested in creating a controller where the outputs are in Newtons and Torques, which are then converted to PWM signals. But before proceeding, I would like to understand what the thrust, roll, pitch, and yaw values passed to the power distribution represent in the current PID controller. Additionally, I am curious about which code is responsible for converting these values into PWM signals.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions