New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brushed max throttle limit #1005
Conversation
This seems like a bit of a hack to me. likely the issue is either in this code: cleanflight/src/main/flight/mixer.c Lines 723 to 741 in 78b52c5
or the pwm output code needs updating. Can you give me details on which board you're using and how you're measuring the duty cycle? also, the PR has too many commits, there should be just one for the change. Perhaps use this as an excuse to learn how to rebase your PR and update it if you don't know how? |
Yea didn't realise github would all commit history just assumed it would be a patch. Tested on a custom board but using alienwii f1 build measured using analyser where you can clearly see the input to the fet not being full duty, motor output was set using GUI to 100% for testing. From a quick look the fix I think needs to be in the pwm output code that constrains the Max pwm for esc's. Thoughts? |
You don't have to close the PR, just rebase/squash your own feature branch. GitHub recognizes rebasing and will update the existing PR to reflect your changes. |
The following code appears to act as expected: cleanflight/src/main/flight/mixer.c Lines 723 to 741 in 78b52c5
I actually can't find an issue at all. See #1520 |
Noticed on the brushed boards its not possible to get 100% duty cycle on the motors, somewhat limiting the power available. This simple fix seemed to make it better for me, let me know if it needs more work.