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

mc_att_control: output zero throttle in manual mode when landed #12542

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

RomanBapst
Copy link
Contributor

MPC_MANTHR_MIN is used as minimum throttle in attitude control mode when
the vehicle is in air. This is useful to retain some control around roll and
pitch axis if airmode is not enabled and the user demands zero throttle.
However, when the vehicle is landed there is not need to keep the throttle
at a higher value than zero.

SITL testing:
image

Log:
https://logs.px4.io/plot_app?log=d6e6fc13-9e50-44aa-888a-47a9f66801d2

- MPC_MANTHR_MIN is used as minimum throttle in attitude control mode when
the vehicle is in air. This is useful to retain some control around roll and
pitch axis if airmode is not enabled and the user demands zero throttle.
However, when the vehicle is landed there is not need to keep the throttle
at a higher value than zero.

Signed-off-by: RomanBapst <bapstroman@gmail.com>
@RomanBapst RomanBapst requested a review from bkueng July 23, 2019 13:44
@RomanBapst
Copy link
Contributor Author

This is also how the system behaved in PX4 1.8.

@julianoes
Copy link
Contributor

@Stifael could you review this as well?

@julianoes julianoes requested a review from Stifael July 23, 2019 14:39
@Stifael
Copy link
Contributor

Stifael commented Jul 23, 2019

wouldn't know what negative impact this PR possibly could have

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.

4 participants