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

VTOL: fix land detector during transitions to fix MC throttle drops #12903

Closed
wants to merge 1 commit into from

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented Sep 5, 2019

Fixes #12877

Problem was that during the backtransitions, the MC land detector detected landing and because of that set the throttle to 0.

With this PR, the min throttle check is disabled for transitions.

Only bench tested yet.

Currently only the MC land detector is running for VTOL. During FW flight it always returns false. #12779
For transitions the fixed-wing land detector could be used (with relaxed airspeed check), a dedicated VTOL land detector implemented or the land detector simply deactivated (as it's here more or less done).

…t beginnung due to landing detected

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
@sfuhrer sfuhrer requested a review from RomanBapst September 5, 2019 11:50
@sfuhrer sfuhrer added Hybrid VTOL 🛩️🚁 Multirotor + Fixedwing! bug labels Sep 5, 2019
@sfuhrer sfuhrer changed the title VTOL: disable land detector during transitions to fix MC throttle=0 a… VTOL: disable land detector during transitions to fix MC throttle drops Sep 5, 2019
@sfuhrer sfuhrer changed the title VTOL: disable land detector during transitions to fix MC throttle drops VTOL: fix land detector during transitions to fix MC throttle drops Sep 5, 2019
@dlwalter
Copy link
Contributor

dlwalter commented Sep 6, 2019

Should VtolLandDetector return false for "maybe_landed" and "get_landed_state" if it's in transition? During transitions "is_rotary_wing" will return true.

Currently it only checks if it is in fixed wing - which I believe will return false during transitions.

@dagar
Copy link
Member

dagar commented Oct 1, 2019

You can do this in the VtolLandDetector that extends MulticopterLandDetector.

https://github.com/PX4/Firmware/blob/fa9ac6ecf651232f3105ca124a2d2c54ab8620d0/src/modules/land_detector/VtolLandDetector.h#L53

@stale
Copy link

stale bot commented Dec 30, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Dec 30, 2019
@sfuhrer
Copy link
Contributor Author

sfuhrer commented Jan 10, 2020

I would still vote for preventing any landing detection during transitions, anybody opposed to that?

@stale stale bot removed the stale label Jan 10, 2020
@dlwalter
Copy link
Contributor

@sfuhrer I agree.

@stale
Copy link

stale bot commented Apr 16, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2020
@sfuhrer sfuhrer closed this Feb 2, 2021
@dagar dagar deleted the pr-VTOL_disable_land_detector_transitions branch October 9, 2022 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VTOL thrust during backtransition
3 participants