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

Plane: Reset TECS along with the rest of the controllers #27827

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

Georacer
Copy link
Contributor

@Georacer Georacer commented Aug 13, 2024

For the balloon drop use-case, I've noticed that TECS would initialize on the ground. That meant that the desired altitude (which is under an LPF) would not start close to the actual altitude, rendering itself useless for an RTL:
image

With this commit TECS starts at the release altitude, resulting in reasonable altitude error:
image

⚠️ Requires #27758 .

@Georacer Georacer marked this pull request as draft August 13, 2024 15:09
@tridge
Copy link
Contributor

tridge commented Aug 28, 2024

@Georacer this seems good, will you take it out of draft?

@tridge tridge removed the DevCallEU label Aug 28, 2024
@Georacer
Copy link
Contributor Author

@Georacer this seems good, will you take it out of draft?

If you're convinced by a draft PR and in my absence, maybe I should attend the Dev call less, haha.

Yes, I'll convert it to a normal PR.

@Georacer Georacer changed the title WIP: Plane: Reset TECS along with the rest of the controllers Plane: Reset TECS along with the rest of the controllers Aug 30, 2024
@Georacer Georacer marked this pull request as ready for review August 30, 2024 09:47
Copy link
Contributor

@MattKear MattKear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to me. You mention a dependency on #27758. Is that the case?

@Georacer
Copy link
Contributor Author

Georacer commented Sep 4, 2024

This looks to me. You mention a dependency on #27758. Is that the case?

There is a "shared change" in TECS.cpp that is necessary to get the results that I pasted in the images.

@tridge tridge removed the DevCallEU label Sep 4, 2024
@tridge tridge merged commit 016a81b into ArduPilot:master Oct 16, 2024
66 of 68 checks passed
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