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

Fix file Load of EntranceAltitude in StructureScanComplexItem.cc #12454

Conversation

diox8tony
Copy link

@diox8tony diox8tony commented Feb 13, 2025

Entrance altitude does not load form File (structure scan)

Description

Structure Scan Load File, results in a 0 for EntranceAltitude edit box.
Wrong JSON tag being used to lookup the Entrance Altitude.

"_entranceAltName" is the correct JSON string to use. As seen in ::save()

Test Steps

Create a Structure Scan plan. (I tested with Circle type, but it shouldn't matter).
Edit the "Entrance Altitude" in the Structure scan editor, to a memorable number.
Save this plan to file.
Clear plan.
Load the plan file.
The Entrance Altitude variable will be 0.

(the plan file has the correct value)

Checklist:

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@DonLakeFlyer DonLakeFlyer merged commit a8ab437 into mavlink:master Feb 13, 2025
9 checks passed
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.

3 participants