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

Move far-from-ekf-origin sanity check up to AP_Vehicle #26724

Closed

Conversation

peterbarker
Copy link
Contributor

I'm not convinced we still need to do then given our origin-handling changes. My preference would be that we kill this code entirely.

But while we have it we can be consistent with what we mean by far-from-origin across our vehicles.

This PR makes it consistent across Sub, Copter and Blimp.

Sub doesn't actually use this when home is set from mavlink. It does use it when the mission sets a home position, because that's what Copter did in 2017.

Blimp and Copter do use this method when setting home.

…P_Vehicle, use it

the Sub and Blimp implementations were buggy and no-longer in-line with Copter's.

In particular, several years ago Copter's horizontal distance limit was removed, and the checking of the vertical limit was fixed.

The old vertical distance check was wrong, it was in m rather than km, and Sub/Blimp still have that problem before this patch.
…P_Vehicle, use it

the Sub and Blimp implementations were buggy and no-longer in-line with Copter's.

In particular, several years ago Copter's horizontal distance limit was removed, and the checking of the vertical limit was fixed.

The old vertical distance check was wrong, it was in m rather than km, and Sub/Blimp still have that problem before this patch.
…ehicle, use it

the Sub and Blimp implementations were buggy and no-longer in-line with Copter's.

In particular, several years ago Copter's horizontal distance limit was removed, and the checking of the vertical limit was fixed.

The old vertical distance check was wrong, it was in m rather than km, and Sub/Blimp still have that problem before this patch.
…icle, use it

the Sub and Blimp implementations were buggy and no-longer in-line with Copter's.

In particular, several years ago Copter's horizontal distance limit was removed, and the checking of the vertical limit was fixed.

The old vertical distance check was wrong, it was in m rather than km, and Sub/Blimp still have that problem before this patch.
…Vehicle, use it

the Sub and Blimp implementations were buggy and no-longer in-line with Copter's.

In particular, several years ago Copter's horizontal distance limit was removed, and the checking of the vertical limit was fixed.

The old vertical distance check was wrong, it was in m rather than km, and Sub/Blimp still have that problem before this patch.
@rmackay9
Copy link
Contributor

rmackay9 commented Apr 9, 2024

I agree that we should just remove the code. I really don't think it's necessary any more now that "extreme ardupilot" is complete.

@tridge
Copy link
Contributor

tridge commented Apr 10, 2024

now removed

@tridge tridge closed this Apr 10, 2024
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