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

Auto takeoff settles at wrong altitude #9033

Closed
julianoes opened this issue Mar 6, 2018 · 1 comment · Fixed by #9034
Closed

Auto takeoff settles at wrong altitude #9033

julianoes opened this issue Mar 6, 2018 · 1 comment · Fixed by #9034
Assignees
Labels

Comments

@julianoes
Copy link
Contributor

julianoes commented Mar 6, 2018

When I do an auto-takeoff in in SITL with QGC, the takeoff altitude ends up being wrong.

The initial waypoint is correct but at some point the target altitude gets shifted and ends up being wrong.

This is a takeoff with altitude set to 3 meters in QGC:
selection_008

@julianoes julianoes added the bug label Mar 6, 2018
@julianoes julianoes self-assigned this Mar 6, 2018
@julianoes
Copy link
Contributor Author

The problem is the reset here which happens when we switch from takeoff to loiter:
https://github.com/PX4/Firmware/blob/master/src/modules/navigator/navigator_main.cpp#L725

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 a pull request may close this issue.

1 participant