Skip to content
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

esc: clarify RPM/command direction meaning #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tpwrules
Copy link

Reverse should only be used for reverse thrust, not simply a motor that happens to be spinning counter-clockwise.

Some ESC vendors get the RPM feedback backwards when configured in reverse direction, so flight stacks need to be aware; not sure how wide-spread the problem is. I have confirmed that latest AM32 using DroneCAN behaves correctly here: reversing the motor direction in its configuration does not reverse the RPM sign.

I had an additional comment about how an ESC which is running in reverse in response to a supported negative bi-directional command must report a negative RPM but AM32 does not do this. I am not sure where the limitation is but IMO this is a bug, and probably a more wide-spread one.

I further wonder how we should define the motor angle in the extended status. I presume it should be that increasing angles are clockwise? So it would swap if you reversed direction in the ESC, and always match the physical angle. But I am not sure what's best here and don't own any ESCs with angle sensors. We do need to add a note that the percentages are absolute.

Reverse should only be used for reverse thrust, not simply a motor that
happens to be spinning counter-clockwise.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant