Skip to content

Allow choosing the SITL frame in the frontend#3950

Draft
Williangalvani wants to merge 2 commits into
bluerobotics:masterfrom
Williangalvani:pick_sitl_frame
Draft

Allow choosing the SITL frame in the frontend#3950
Williangalvani wants to merge 2 commits into
bluerobotics:masterfrom
Williangalvani:pick_sitl_frame

Conversation

@Williangalvani

@Williangalvani Williangalvani commented Jun 12, 2026

Copy link
Copy Markdown
Member
Screenshot 2026-06-12 at 16 25 35

Summary by Sourcery

Add frontend and backend support for viewing and configuring the current SITL frame from the Autopilot UI.

New Features:

  • Expose the current SITL frame via a new backend API endpoint and corresponding SITLFrame type.
  • Add a SITL configuration panel in the Autopilot view to select and update the SITL frame when using a SITL board, including automatic restart and user feedback.

Enhancements:

  • Extend the autopilot manager store and updater to track and fetch the current SITL frame for use in the UI.

Williangalvani and others added 2 commits June 12, 2026 16:27
The POST endpoint already existed; add the matching GET so the
frontend can read the currently configured SITL frame.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add a dedicated expansion panel (visible only when SITL is the running
board) with a frame-type dropdown. Selecting a frame POSTs to
/sitl_frame and automatically restarts the autopilot so the new frame
takes effect (matching set_board behavior), with a loading spinner and
success snackbar for feedback.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant