Tools: add wxPython based GUI launcher for SITL#32893
Open
mahadsultanchaudhary wants to merge 1 commit intoArduPilot:masterfrom
Open
Tools: add wxPython based GUI launcher for SITL#32893mahadsultanchaudhary wants to merge 1 commit intoArduPilot:masterfrom
mahadsultanchaudhary wants to merge 1 commit intoArduPilot:masterfrom
Conversation
b4d2a91 to
c7d1024
Compare
c7d1024 to
a7f6117
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds an optional GUI wrapper for
sim_vehicle.pyto simplify SITL setup while preserving existing CLI behavior. The implementation keeps the GUI logic modular, adds a few usability improvements, and aims to reduce common configuration errors for new users.Relates to: #32802
Classification & Testing
Description
--guimode for launching SITL through a simple wxPython interfacesim_gui_helper.pyto avoid bloatingsim_vehicle.pyTools/autotest/locations.txtfor searchable start locationswx.Config--no-mavproxyis selected)ArduCopter/), the GUI locks the vehicle type to match context--guiis explicitly passed--gui(e.g.-L,-A) pre-fill and sync with GUI statewxPythonis unavailableTesting Performed
Tested locally via SITL.
--guiis required--guicorrectly sync with UI stateAI-Assistance Disclosure
This contribution was AI-assisted. The implementation and GUI structure were developed with AI assistance. I have reviewed, tested, and verified the changes and take full responsibility for this PR.