Skip to content

Add prearm check status to dashboard#1073

Merged
1Blademaster merged 2 commits into
mainfrom
1044-feature-display-prearm-check-status
Mar 7, 2026
Merged

Add prearm check status to dashboard#1073
1Blademaster merged 2 commits into
mainfrom
1044-feature-display-prearm-check-status

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 7, 2026 14:59
@1Blademaster 1Blademaster linked an issue Mar 7, 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 “ready to arm” / prearm-check status indicator to the GCS dashboard by wiring MAVLink SYS_STATUS health/enabled bits into Redux state and exposing a selector for the UI.

Changes:

  • Store onboard_control_sensors_health in droneInfo Redux state and add a setter action.
  • Replace the old prearm-related selector with selectReadyToArm.
  • Render a “Ready to arm” / “Not ready to arm” status label in the dashboard telemetry section when disarmed.

Reviewed changes

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

File Description
gcs/src/redux/slices/droneInfoSlice.js Adds state + reducer for onboardControlSensorsHealth and introduces selectReadyToArm selector.
gcs/src/redux/middleware/socketMiddleware.js Attempts to populate enabled/health sensor bits from incoming SYS_STATUS messages.
gcs/src/components/dashboard/telemetrySection/telemetry.jsx Displays “Ready to arm” status in telemetry UI when the vehicle is disarmed.

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

Comment thread gcs/src/redux/slices/droneInfoSlice.js Outdated
Comment thread gcs/src/redux/middleware/socketMiddleware.js
Comment thread gcs/src/redux/slices/droneInfoSlice.js Outdated
@1Blademaster 1Blademaster merged commit 2ad4083 into main Mar 7, 2026
5 checks passed
@1Blademaster 1Blademaster deleted the 1044-feature-display-prearm-check-status branch March 7, 2026 15:12
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] Display prearm check status

2 participants