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

FW landing check if prev valid before using #9284

Merged
merged 1 commit into from
Apr 21, 2018
Merged

FW landing check if prev valid before using #9284

merged 1 commit into from
Apr 21, 2018

Conversation

dagar
Copy link
Member

@dagar dagar commented Apr 11, 2018

No description provided.

@ryanjAA
Copy link
Contributor

ryanjAA commented Apr 13, 2018

Flew this in SITL - flew fine. Would be better to add a lidar to gazebo plane to test more thoroughly - will try and get this PR on something in the air when weather permits.

@dagar
Copy link
Member Author

dagar commented Apr 13, 2018 via email

@ryanjAA
Copy link
Contributor

ryanjAA commented Apr 13, 2018

https://review.px4.io/plot_app?log=5be4054e-95bd-4be3-8eeb-fef7d1f23038
https://review.px4.io/plot_app?log=5ffe3ab7-aabb-4996-94cd-478f96931232

Two different types of landing scenarios. With landing pattern the manual landing (had to add the last waypoint in.

Thing to consider and this is likely QGC not PX4 is how slope is displayed when using landing pattern, not displayed on the top of screen or on the altitude graph on the left. Only on the right hand side where the pattern landing settings are.

screen shot 2018-04-13 at 12 50 30 pm

@Antiheavy
Copy link
Contributor

I fly a lot of fixed wing landing patterns. Can you explain what issue is this fixing? just curious. thanks.

@dagar
Copy link
Member Author

dagar commented Apr 21, 2018

You could think of this as general fixed wing position controller hardening. This is an edge case you can't normally get into if you plan your landing with the QGC pattern or with certain feasibility checks.

The landing slope logic uses the previous waypoint altitude, but wasn't checking if the previous waypoint was actually a valid position waypoint.

@dagar dagar merged commit 0e823c8 into master Apr 21, 2018
@dagar dagar deleted the pr-fw_land_prev branch April 21, 2018 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants