Skip to content

Commit

Permalink
advanced-usage: add relative altitude mini-widget
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-Alexander committed Nov 23, 2023
1 parent e64797f commit d92d7a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions advanced-usage/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Advanced Usage"
description = "Cockpit advanced usage documentation."
date = 2023-11-23T19:30:00+11:00
date = 2023-11-23T20:15:00+11:00
template = "docs/page.html"
sort_by = "weight"
weight = 30
Expand Down Expand Up @@ -92,7 +92,7 @@ Multiple simultaneous tabs from the same browser instance will be supported in f
- New widgets can be added via the bottom section
- Clicking on a regular widget adds it to the view, after which it can be positioned and resized as desired
- Mini widgets have fixed sizes, but can be dragged and dropped into the desired location in the header/footer
bars or in a [mini widget container](#mini-widget-container)
bars or in a [mini widget bar](#mini-widget-bar)
- Some regular widgets can be configured, by clicking the three dots in the top right corner of the widget
- Mini widgets that support configuration can be clicked on anywhere on the widget to open the configuration options
- This is currently only possible during operation, *not* while in edit mode
Expand Down Expand Up @@ -206,22 +206,23 @@ adding transparent padding at the sides / above+below as necessary

Video recording is possible using a [mini widget](#mini-widgets).

##### Mini Widget Container
##### Mini Widget Bar

The mini widget container widget is a rectangular container for storing [mini widgets](#mini-widgets).
The mini widget bar widget is a rectangular container for storing [mini widgets](#mini-widgets).

{{ easy_image(src="mini-widget-container-widget", width=500, center=true) }}
{{ easy_image(src="mini-widgets-bar-widget", width=500, center=true) }}

#### Mini Widgets

Mini widgets are small, generally single-function widgets that can be drag-positioned in the
[header bar](#header-bar), footer bar, or any [mini widget container](#mini-widget-container).
[header bar](#header-bar), footer bar, or any [mini widget bar](#mini-widget-bar).

The current options include
- Arm/Disarm toggle switch
- Vehicle connection status indicator
- Power / battery indicator
- Depth indicator
- (Relative) altitude indicator
- Very generic indicator
- clicking on this allows selecting which vehicle variable to track, out of
any that have been received so far (including custom ones)
Expand Down
Binary file removed advanced-usage/mini-widget-container-widget.png
Binary file not shown.
Binary file added advanced-usage/mini-widgets-bar-widget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d92d7a9

Please sign in to comment.