Alpha 0.1.10/571 read mission from file#594
Merged
1Blademaster merged 6 commits intorelease-alpha-0.1.10from Aug 1, 2025
Merged
Alpha 0.1.10/571 read mission from file#5941Blademaster merged 6 commits intorelease-alpha-0.1.10from
1Blademaster merged 6 commits intorelease-alpha-0.1.10from
Conversation
Fixed electron build camera issues (#584)
Closed
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements the ability to import mission files from the filesystem, adding file import functionality to complement the existing mission write capabilities. The implementation handles mission, fence, and rally point imports through a new socket endpoint.
- Added a new socket endpoint
import_mission_from_filewith proper validation for mission types and file paths - Replaced the removed
loadWaypointFilemethod with a newimportMissionFromFilemethod that includes better error handling and coordinate conversion - Updated the frontend to use a file picker component instead of a placeholder button for importing missions
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| radio/app/endpoints/mission.py | Adds new socket endpoint and TypedDict for importing missions from files with validation |
| radio/app/controllers/missionController.py | Replaces old loadWaypointFile method with improved importMissionFromFile including coordinate conversion |
| gcs/src/missions.jsx | Updates UI to use FileButton component and handles import_mission_result socket events |
NexInfinite
approved these changes
Aug 1, 2025
1Blademaster
added a commit
that referenced
this pull request
Sep 28, 2025
* alpha-0.1.9/hf/583-fix-camera-not-working-on-electron Fixed electron build camera issues (#584) * Add mission import from selected file * Add type fix * Add changes from copilot review --------- Co-authored-by: Joe <joantpat@gmail.com>
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.
No description provided.