cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

Add Mission Control Panel widget and mini-widget

Open ArturoManzoli opened this issue 1 month ago • 1 comments

  • Add Mission control panel widget and mini-widget;
  • Add active waypoint skip/select by context menu on map widget;
  • Add skip to next and previous waypoints via control panel;
  • Add mission play, pause and stop via control panel;

https://github.com/user-attachments/assets/f56ce387-dc52-4cbe-bda9-a69328f67d34

Close #2032

ArturoManzoli avatar Nov 18 '25 19:11 ArturoManzoli

From a quick look through the code (haven't tested yet), it generally looks like it makes sense :-)

I'm curious whether there's any special functionality in the main widget version of the control panel though - if not it should maybe only be available as a mini widget (which should already be able to go into a collapsible container if someone wants it in one)?

In terms of state tracking, it could be nice to differentiate the "visited" waypoints (not just the current target). I'm not sure whether we'd consider it sufficient to just display everything prior to the target as visited, or if we think it's worth actually keeping track of which ones have been reported as visited (and potentially even count how many times)...

I think it could be nice to display the "current target" waypoint as a target icon - possibly just adding an extra ring around it? As I understand it targets are a well-understood symbol, which should make it more immediately obvious what it means for that waypoint to be highlighted/different.

ES-Alexander avatar Nov 18 '25 22:11 ES-Alexander

I'm curious whether there's any special functionality in the main widget version of the control panel though - if not it should maybe only be available as a mini widget (which should already be able to go into a collapsible container if someone wants it in one)?

I agree that having both the mini and regular widgets for certain features can feel redundant, but for Mission Planning there are two main reasons to keep both:

  • Some less-experienced users may find it difficult or unintuitive to build a widget using the collapsible container combined with the mini-widget. Since Mission Planning is a core component of Cockpit, providing it in both mini and regular widget formats makes sense.
  • The regular Mission Planning widget is still in an early stage. As discussed earlier, we plan to add many more mission-control features, switches, menus, and monitoring elements that wouldn’t have enough space in a mini-widget.

In terms of state tracking, it could be nice to differentiate the "visited" waypoints (not just the current target). I'm not sure whether we'd consider it sufficient to just display everything prior to the target as visited, or if we think it's worth actually keeping track of which ones have been reported as visited (and potentially even count how many times)...

Agreed; Issue #2246 has been created to implement that.

I think it could be nice to display the "current target" waypoint as a target icon - possibly just adding an extra ring around it? As I understand it targets are a well-understood symbol, which should make it more immediately obvious what it means for that waypoint to be highlighted/different.

“Targets” does refer to a location to go, but it also carries weapon and shooting related meanings, which I think doesn’t really fit the friendly tone we want our products to have.

ArturoManzoli avatar Nov 24 '25 11:11 ArturoManzoli