-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
CBRK_VELPOSERR doesn't bypass checks #12258
Comments
Thanks for the issue. I think what you're saying is correct. Would you mind creating a pull request to fix it? Thanks. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
I have fixed this bug in 1.13.2: PX4-Autopilot/src/modules/commander/Commander.cpp Line 4051 in 46a12a0
by simply add the _have_taken_off_since_arming flag after the circuit breaker condition.
This change will force the commander to pass the check at least once, then disable it after the copter is in air. However, the |
If we don't care about backporting this bugfix to the affected versions in the past, yes it would make sense to close it |
Closing since we don't plan on backporting this fix for v1.13 |
Using this circuit breaker doesn't actually bypass the checks.
It just skips the checks, so that if the position validity was false it will never be true so the copter won't arm or takeoff or whatever it has to do with a valid position.
I don't think that is the correct behavior.
Here: https://github.com/PX4/Firmware/blob/327354705b3519472dd493e687b014ce44c6415d/src/modules/commander/Commander.cpp#L4412-L4431
I'd add at the end an:
The text was updated successfully, but these errors were encountered: