Skip to content

rc_car_reverse for dshot #166

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

pitts-mo
Copy link
Contributor

merge and release warning
This PR needs extensive testing for all dshot usage.

WARNING!
This adds rc_car_reverse breaking to dshot handling!
This can be especially problematic if rc_car_reverse was erroneously enabled for a 3D aircraft using dshot! If you use bi-directional motors with dshot you must verify all you settings and test this change carefully.

Primary Actions in this PR:
-unblock prop_brake_active for dshot
-duplicate rc_car_reverse for dshot
-use dshot to set prop_brake_duty_cycle when needed

Scanned for and attempted to evaluate for problematic instances of:
prop_brake_active = 1
prop_brake_duty_cycle =

@pitts-mo
Copy link
Contributor Author

Note: While working this PR I discovered a bug with dshot commands on INAV rover.
iNavFlight/inav#10648

@pitts-mo
Copy link
Contributor Author

Remembering prop_brake_active = 1 is found within instances if use_sine_start and if brake_on_stop.

So maybe add warnings for dshot users using these settings to check behavior.

Maybe add config setting for user to to disable prop_brake_active for instances outside of rc_car_reverse?

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