-
Notifications
You must be signed in to change notification settings - Fork 19k
Plane: fixed guided VTOL command in terrain mode #28406
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
Conversation
What we really need to do is change to using an alt_frame attribute on Location instead of using these booleans. |
Yes, we do, I've had patches around it before. There some subtleties around the terrain stuff in particularly - there's some weird persistence with terrain following which you have to be really careful around. Nothing impossible, of course, but terrain is unforgiving :-) The trick is to make |
@timtuxworth Wanna figure this out at dev conference this week? |
Absolutely |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs autotests
e8237c8
to
b9ae24b
Compare
b9ae24b
to
d42553a
Compare
we need to fly somewhere with a different terrain height than home or we cannot test terrain target
d42553a
to
fb18d31
Compare
test added |
if the GCS commands a guided re-position with an AGL frame and quadplane is in Q_GUIDED_MODE=1 then this prevents us adding the home altitude to the target terrain altitude
fb18d31
to
872e694
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I was unable to immediately include this in 4.6.0-beta5 due to merge conflicts |
this is included in 4.6.0-beta5 via PR rmackay9#40 |
if the GCS commands a guided re-position with an AGL frame and quadplane is in Q_GUIDED_MODE=1 then this prevents us adding the home altitude to the target terrain altitude
we really need auto tests for these