Skip to content

Add mission frame choice selection#1099

Merged
1Blademaster merged 2 commits into
mainfrom
1007-feature-add-ability-to-update-waypoint-frame
Mar 18, 2026
Merged

Add mission frame choice selection#1099
1Blademaster merged 2 commits into
mainfrom
1007-feature-add-ability-to-update-waypoint-frame

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 18, 2026 21:10
@1Blademaster 1Blademaster linked an issue Mar 18, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a user-selectable MAVLink mission frame choice in the GCS mission-related tables (mission/fence/rally), replacing the previously read-only frame display with a dropdown.

Changes:

  • Introduces getFrameDropdownData() to provide dropdown options for mission frame selection.
  • Adds getPositionFrameValue() helper to reverse-map MAV_FRAME_LIST names to numeric frame IDs.
  • Updates mission, fence, and rally table rows to render a <Select> for the frame field and dispatch updates on change.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
gcs/src/helpers/mavlinkConstants.js Adds frame dropdown data helper; introduces new import that creates a circular dependency.
gcs/src/helpers/dataFormatters.js Adds reverse lookup helper for MAV frame IDs (currently returns string/undefined).
gcs/src/components/missions/rallyItemsTableRow.jsx Replaces frame display with selectable dropdown.
gcs/src/components/missions/missionItemsTableRow.jsx Replaces frame display with selectable dropdown.
gcs/src/components/missions/fenceItemsTableRow.jsx Replaces frame display with selectable dropdown.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gcs/src/helpers/mavlinkConstants.js Outdated
Comment thread gcs/src/helpers/mavlinkConstants.js Outdated
Comment thread gcs/src/helpers/dataFormatters.js Outdated
Comment thread gcs/src/components/missions/rallyItemsTableRow.jsx
Comment thread gcs/src/components/missions/missionItemsTableRow.jsx
Comment thread gcs/src/components/missions/fenceItemsTableRow.jsx
@1Blademaster 1Blademaster merged commit 850b0af into main Mar 18, 2026
5 checks passed
@1Blademaster 1Blademaster deleted the 1007-feature-add-ability-to-update-waypoint-frame branch March 18, 2026 21:22
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.

[FEATURE] Add ability to update waypoint frame

2 participants