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

[SBUS2] Fix units reported in esc sensor and report rotorflight's rpm, instead of escData #135

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

mmosca
Copy link
Contributor

@mmosca mmosca commented Aug 10, 2024

I could not match rotorflight's rpm data with headspeed by setting the right gear ratio on the radio.

So it is probably better to set ratio to 1:1 in the radio and report rotorflight's rpm.

Marcelo Bezerra added 3 commits August 10, 2024 16:08
Temperatures and pwm were reading wrong.

Change rpm soruce to match rpm sensor, as erpm didn't seem to match actual headspeed in my tests with hobbywing v4 based esc. (align 300x combo esc)
@robthomson
Copy link
Contributor

Can't imagine why you would want to calc it on the radio!

@mmosca
Copy link
Contributor Author

mmosca commented Aug 10, 2024

Can't imagine why you would want to calc it on the radio!

That is just how it is usually done on futaba radios. They just transmit the raw motor rpm sensor output and you would input the type of sensor (hal effect, brushless, motor, optical) and setup as needed.

Letting this be handled by rotorflight makes more sense, since it already has all that information.

@rotorflight rotorflight merged commit d4c2929 into rotorflight:master Aug 15, 2024
1 check passed
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.

3 participants