Dashboards
The workstation has a "Plots" tab (the six fixed plots from the first release) and any number of dashboard pages. Pages are made of widgets on a grid. You can edit pages in the window, pop any page out into its own window, and change how the whole interface looks.

That page is examples/layouts/stand-console.layout.toml: a schematic, plots with their values beside them, a camera tile, under an example company's name and logo. downrange demo --scenario stand opens it.
You don't have to write anything #
With no layout file, the workstation builds pages from the channel list the daemon sends:
- Overview: the alarm list, a tile for every channel with a limit or state names, one table per packet, and a table of derived channels.
- Map & 3-D: appears when the mission has channels that look like latitude and longitude (and altitude, and a quaternion).
Press "save layout" in the top bar to write that generated layout to <mission>.layout.toml. Edit the file and load it:
downrange-ui --layout my-vehicle.layout.toml [--page "Power"] [--theme light]
A widget that names a channel the mission doesn't have shows that, in place, and the rest of the page still draws.
Editing in the window #
Press "edit" in the tab row, or E. Every widget gets a grey bar:

- Drag a widget by its bar and drop it on any grid cell. It stays there (
at = [column, row]in the layout file) and the other widgets flow around it.<and>move it one step in the flow order instead. w-w+h-h+change how many columns and rows it covers.- "edit" opens its settings: kind, title, channels, unit, range, time window, 3-D model file.
xdeletes it. "add widget" at the bottom of the page adds one.- The line under the tabs renames the page, sets its columns and row height, and adds or deletes pages.
Edits last until you quit. "save layout" writes them, the open windows and the view settings to a file. Escape leaves edit mode.
Editing was checked by screenshots of edit mode. Dragging and the buttons have not been exercised by an automated test, because the test machines have no way to click.
More than one window #
"pop out" opens the current page in its own window. Open up to eight, put them on other monitors, close them when you like. Each keeps updating from the same connection. A layout file can open windows at start:
[[window]]
page = "Attitude"
vehicle = "demo-orbit" # only needed with several vehicles
size = [700.0, 520.0]
Only dashboard pages pop out. The Plots page stays in the main window.
More than one vehicle #
One daemon is one vehicle. Give the workstation several:
downrange-ui --connect 127.0.0.1:48621 --connect 127.0.0.1:48631
A menu in the tab row picks the vehicle the bars, the Plots page and the pages show. A widget can name the vehicle it draws, by mission name or by number from 1, so two vehicles or two stages sit on one page:
[[page.widget]]
kind = "stat"
vehicle = "demo-rocket"
channel = "baro.alt"
examples/layouts/two-vehicles.layout.toml does this with the rocket and the satellite. Each mission file needs its own pair of ports. There is no time alignment between vehicles: each widget shows its own vehicle's clock.
The file #
theme = "dark" # or "light"
[[page]]
name = "Power"
columns = 4 # equal columns across the page, 1 to 12
row_height = 150 # points
[[page.widget]]
kind = "gauge"
channel = "eps.vbat"
min = 6.5
max = 8.5
[[page.widget]]
kind = "plot"
channels = ["eps.vbat", "eps.i_solar"]
span = [3, 2] # columns wide, rows tall
window_s = 600
Widgets fill the grid left to right, top to bottom, each in the first free space it fits.
Widget kinds #
| Kind | Shows | Keys |
|---|---|---|
value |
One number, large, coloured by its limit level. State names in place of numbers when the channel has them. | channel, unit |
gauge |
A dial with the limit bands drawn on it. | channel, min, max, unit |
light |
A status light: green, amber or red from the channel's limit level. Grey until the channel has data. | channel |
table |
Name, value, unit and level for a list of channels. | channels |
stat |
One number over a sparkline of its recent history. | channel, unit, window_s |
bar |
A horizontal bar against the channel's range, limit bands marked. | channel, min, max, unit |
timeline |
The planned sequence on a fixed axis, every step named with its planned time before it happens, and a line at now moving along it. Underneath, what the state channel really did. Without a sequence, the state channel alone. See operations time. | channel, x_range, window_s |
plot |
Line plot against time from T-0 (or vehicle time). Axes are labelled with what they measure and the channel's unit. The scale is fixed: min/max, or else it grows to fit the run and never shrinks back. One channel: its limit lines are drawn with their values. The sequence's steps are dotted lines. values = true lists the channels and their newest values beside the plot. |
channels, x_range, window_s, min, max, log, values |
alarms |
Channels outside limits now, then the log of changes. | |
attitude |
A 3-D body turned by a quaternion, with roll, pitch and yaw. Drag to orbit, scroll to zoom. | quat = [w, x, y, z], model = "rocket", "satellite", "axes", or a path to your own .stl or .obj file |
map |
Ground track. With tiles, over satellite imagery kept in the workspace, at a fixed scale around centre, with range rings, a scale bar and the distance and bearing from the site. Without, on a world map with coastlines. |
lat, lon, tiles, centre, radius_m, window_s |
horizon |
An attitude indicator: sky over ground, pitch ladder, bank scale, heading tape. | quat, or angles = [roll, pitch, heading] |
sky |
A sky plot from a ground station: north up, zenith in the middle, the pass drawn so far. | angles = [azimuth, elevation] |
clock |
Clocks from the console's list, or the ones named. | clocks = ["dwell", "next"] |
trajectory |
3-D path in local east/north/up metres from the first point, with a ground shadow. | lat, lon, alt |
globe |
The Earth with coastlines, the orbit path, the ground track, and the vehicle. | lat, lon, alt, quat |
camera |
The newest frame from a camera. Says FROZEN, with how long, when frames stop. | source, fps |
schematic |
A P&ID: tanks, valves, pumps, pipes and sensors bound to channels. Read-only. | grid, [[page.widget.item]] |
text |
A fixed note. | text |
channels takes names or a pattern ending in .* for every channel of a packet: channels = ["eps.*"].
Every widget takes vehicle (above).
Operate and analyze #
The console has two modes, switched in the tab row.
- operate (the default): nothing on a page moves except the data. Plots don't pan, zoom or scroll, 3-D views don't turn, and the page fills the window exactly, so nothing scrolls either. A plot's time axis is fixed by the layout (
x_range) or fills from the left and then moves on, like a strip chart. Every axis says what it measures. - analyze: the time under the pointer in one plot is marked in all of them, 3-D views turn and zoom, and "Time range" in the tab row sets one range for every plot and timeline. For looking back at data, not for running a test.
hold (Space) stops the whole display at that moment: plots, values, the sequence and the mission clocks all show that instant, and stay there. Telemetry keeps arriving and being recorded. The limit band across the top stays live, so an alarm can't hide behind a hold. Press Space again to follow live data.
When no telemetry has arrived for 2 s, the page says so in a line at the top. Widgets keep showing the last value.
Display units #
unit = "ft" on a value or gauge shows a channel stored in metres as feet. The stored data and the recording don't change. Known units:
- length:
m km cm mm ft mi nmi - speed:
m/s km/s km/h ft/s mph kn - acceleration:
m/s^2 g - pressure:
Pa kPa MPa bar psi atm - angle:
rad deg, rate:rad/s deg/s rpm - force:
N kN lbf, mass:kg lb - temperature:
K degC degF
If the pair isn't known, the widget shows the value in the channel's own unit, labelled with that unit. There is no unit checking anywhere else.
Maps, 3-D and the orbit views: what they are #

- Without
tiles, the map data is one coastline set built into the binary: Natural Earth 1:110m, public domain, 5,127 points. There are no borders, cities, terrain or imagery, and at 1:110m a launch site is a dot near a rough coast. - With
tiles, the map draws imagery from a folder in the workspace:z/x/y.jpgtiles in the usual web-map layout and asource.tomlsaying where they came from. Downrange never downloads tiles while it runs.scripts/fetch-tiles.pygets them once, from USGS (US only, public domain) or EOX Sentinel-2 cloudless (worldwide, CC BY 4.0), and the credit is drawn on the map.scripts/fetch-template-tiles.shgets the ones the built-in templates use. - The 3-D views are line drawings projected in plain code. No GPU scene, no lighting, no vehicle CAD models. The "rocket" and "satellite" bodies are simple wireframes.
- The globe treats the Earth as a sphere and draws what the telemetry says: latitude, longitude, altitude. It does not propagate orbits, read TLEs, show ground-station visibility, or draw the Sun and the terminator.
- The trajectory view uses a flat local frame. Past a few tens of kilometres from the first point it is wrong.
The orbit demo #
downrange demo --scenario orbit
A simulated satellite: circular 500 km orbit, 51.64 degrees, with the J2 drift of the orbit plane, sped up 60 times. It exists to exercise the map, globe and attitude widgets. It is not an orbit model you should trust for anything: spherical Earth, no drag, no eccentricity.
Your name on it #
downrange_layout = 1 # the layout format. This build reads 1
[brand]
name = "ACME SPACE" # replaces "Downrange" in the top bar and window titles
logo = "logo.png" # PNG or JPEG, shown before the name
accent = "#ff8a3d" # selected tabs, sliders, flowing pipes
The same three settings are at the top of the "view" window. Nothing in the window says Downrange once a name is set. downrange-ui --version still does.
File paths in a layout (logo, fonts, 3-D model, camera file) are relative to the layout file. A console is then a folder you can copy: layout, logo, model. "save layout" writes them back as absolute paths.
Schematics (P&ID) #
[[page.widget]]
kind = "schematic"
span = [7, 6]
grid = [100.0, 62.0] # your own drawing units: width, height
[[page.widget.item]]
kind = "tank"
at = [22.0, 33.0] # centre
size = [14.0, 22.0]
label = "LOX"
channel = "prop.lox_level" # fill level, between min and max (default 0 and 100)
[[page.widget.item]]
kind = "valve"
at = [32.0, 50.0]
channel = "prop.lox_mv" # open when not zero, or when equal to open_when
label = "LOX-MV"
[[page.widget.item]]
kind = "pipe"
points = [[22.0, 44.0], [22.0, 50.0], [42.0, 50.0]]
channel = "prop.lox_mv" # drawn as flowing when not zero
| Item | Drawn as | With a channel |
|---|---|---|
tank |
A vessel. | Filled to the value. Colour from the channel's limit level. |
valve |
A bow tie. vertical = true for a vertical line. |
Solid green when open, outline when closed, amber when there is no data. The state name is written beside it. |
pump |
A circle with an arrow. | Lit when not zero. |
engine |
A nozzle. | A flame when not zero. |
pipe |
A line through points. |
Thick and in the accent colour when not zero. |
sensor |
A boxed live value. | Coloured by limit level. |
label |
Text. |
What this is, today:
- A drawing bound to channels. It is read-only. Nothing on it can be clicked to open a valve, and Downrange has no path to send a command. That is a decision, not an oversight: a console that commands hardware needs authorization, interlocks and an audit trail that have each been validated, and none of that exists here.
- "Flowing" means the channel you bound is not zero. Nothing computes flow from valve positions.
- Placed by typing coordinates in the layout file. There is no drawing editor, and no import from a CAD or P&ID tool.
- A small symbol set. No check valves, regulators, relief valves, filters, heat exchangers, instrument bubbles or ISA line types yet.
System diagrams #
[[page.widget]]
kind = "system"
system = "../../systems/demo-loop.system.toml"
span = [7, 6]
[page.widget.place] # where each component sits on this diagram, by id
TK1 = [8.0, 8.0]
P1 = [34.0, 8.0]
This widget draws a system definition (14-system-definition.md): its components, ports and connections. The positions belong to the diagram, so the same system can be drawn several ways. Components with no position are placed on a grid.
Each box shows the state of the data bound to it, which is not the health of the hardware:
| Shown | Means |
|---|---|
| thin grey outline | nothing is bound to this component |
| dashed outline, NO DATA | a bound channel has never arrived |
| grey, STALE | a bound channel stopped arriving more than 2 s ago |
| red, INVALID | a bound channel is not a number |
| outline in the text, amber or red colour | the worst limit level of its channels |
| an amber diamond | a model-based check that involves this component is firing. A separate question, a separate mark |
Under each box: every bound value, and what the model expects when a check supplies it. Line styles say what a connection is: solid for material, heavy grey for mechanical, dashed for electrical, dotted for signal and logical.
Editing a system #
In the page's edit mode (E) the diagram becomes an editor, labelled EDITING:

+ pump,+ valveand the rest add a component with the usual ports for its type.- Drag to move, on a grid. Shift-click or Ctrl-click to select several.
- Click a port, then another, to connect them. The kind follows from the ports. A connection that is not valid is refused, and the reason is shown.
- With one component selected: rename it, and bind a channel to a role.
- Delete, Ctrl+D to duplicate (bindings are not copied), Ctrl+Z and Ctrl+Y, 200 steps.
- "find" dims everything that does not match by id, name, type or channel.
- "save system file" writes the definition. "save layout" writes the positions.
Every edit is validated before it is applied. Deleting a component that a check or a requirement names is refused.
How this was tested: the editing operations are unit-tested without a window (sysedit.rs), and three tests drive the widget with synthetic pointer and key events: click to select, drag to move with Ctrl+Z, port clicks to connect, a refused connection, the Delete key (sysview.rs). The palette buttons, the inspector fields, pan and zoom have not been driven by a test or a person. Checks, requirements, ports and parameters cannot be edited in the window yet: edit the file.
The older schematic widget still works and is unchanged. It is a drawing with channels on shapes, not a system model, and nothing converts one into the other.
Cameras #
[[page.widget]]
kind = "camera"
title = "Pad north"
source = "http://127.0.0.1:8080/stream" # or a file path
fps = 15.0
Two kinds of source:
- An MJPEG stream over HTTP (
multipart/x-mixed-replace), which many IP cameras and USB camera servers provide. A plain image URL also works and is fetched again for every frame. - An image file that another program keeps rewriting. For an RTSP or H.264 camera, let ffmpeg do the decoding:
ffmpeg -i rtsp://camera/stream -vf fps=10 -update 1 -y /tmp/pad.jpg, and setsource = "/tmp/pad.jpg".
Rules it follows:
- Each camera is read on its own thread. A slow or dead camera cannot stall the interface or the telemetry.
- When frames stop for 2 s, the last one stays up with FROZEN and the time since, in red. A picture of the pad must never pass for live when it isn't.
- Only this computer is contacted unless you start with
downrange-ui --allow-remote-cameras. A layout file is something people pass around. Opening one must not make your computer connect to an address its author chose. - Frames over 16 MB or 8192 pixels a side are refused. Wide frames are scaled to 1920 before drawing.
What it does not do: no RTSP, H.264 or HTTPS by itself, no audio, no recording of video, no timestamp tying a frame to vehicle time, no playback during replay. Video beside a replayed flight is the part that matters most after a test, and it is not built.
Your own 3-D model #
[[page.widget]]
kind = "attitude"
quat = ["att.qw", "att.qx", "att.qy", "att.qz"]
model = "examples/models/rocket.stl"
STL (binary or text) and Wavefront OBJ load. Export one from your CAD tool. The model's own x, y, z are used as the body axes, so export it in body axes. It is centred and scaled to fit.
It is drawn as lines, not as a shaded solid: outline edges, edges where the surface bends by more than 25 degrees, and the silhouette of curved surfaces from where you look. No hidden-line removal, no colours, no textures, no moving parts. Limits: 256 MB file, 4 million triangles, 60,000 edges drawn (a larger model is sampled, and the widget says so). A file that does not parse shows the reason and the built-in rocket.
How it looks: the [ui] table and the view window #
"view" in the tab row (or V) opens a window with every setting below. They apply at once and "save layout" writes them out.
[ui]
top_bar = true # mission name, connection, phase
health_bar = true # link, recorder and memory counters
tabs = true # page tabs. Hidden: PageUp/PageDown change page, V opens "view"
banners = true # notes above a page
titles = true # widget titles
hints = true # "drag to turn" and the like
channel_panel = "auto" # auto, always, never: the side panels of the Plots page
analysis_panel = "auto"
scale = 1.0 # whole interface, 0.6 to 2.5. Ctrl + and Ctrl - also work
text_scale = 1.0 # dashboard text, 0.7 to 2.0
font = "/path/to/font.ttf" # proportional text. .ttf or .otf
mono_font = "/path/to/mono.ttf" # numbers
language = "en" # en or ko
rounding = 6.0 # widget corners, points
gap = 8.0 # space between widgets
min_column_width = 170.0 # see "Window size" below
max_column_width = 900.0
series = ["#64aaff", "#f09646"] # plot line colours
[ui.colors] # any of: text dim good warn bad panel grid track land background
panel = "#101418"
good = "#3ddc84"
downrange-ui --kiosk starts full screen with the bars, banners and hints off. F11 toggles full screen.
Every number is pulled into its range when the file loads, and an unknown key, colour name or language is an error with the reason. A font file is parsed before it is used; one that does not parse is refused with a note and the built-in font stays.
Changing warn and bad changes what amber and red mean on your console. Nothing stops you from making them the same colour. Don't.
Language #
English and Korean. Translated: the dashboard pages, the tab row, the view and widget windows. Not translated: the health counters, the analysis panel, messages from the daemon, channel names. The Korean was written with this release and has not been reviewed by a second reader.
Korean text needs a font with Hangul. The built-in fonts have none, so the workstation falls back to a system font. If you see boxes, set font to a font file that has the glyphs.
Window size #
- The window cannot be made smaller than 640 x 420 points or larger than 7680 x 4320.
--sizeand[[window]] sizeare pulled into the same range. - A page drops columns until each is at least
min_column_widthwide. Six columns at 1600 points become three at 640. A dense page with 12 columns needs a smallermin_column_width(the stand console uses 100), or it will show 8 on a 1600-point window. Widgets that were side by side stack, and the page scrolls. - Columns stop growing at
max_column_width, and the page is centred, so a very wide monitor does not stretch every widget. - Small widgets drop their padding, title, axes and legend before their content.
- On the Plots page the analysis panel hides below 1250 points and the channel list below 820, unless set to "always". The top bar wraps and the health bar scrolls sideways.

Compared with Grafana #
Grafana is the dashboard tool most people know, so it was the reference. It is a web application in front of databases. Downrange is one desktop program in front of one live stream. They overlap less than it looks.
Taken from it:
- View mode and edit mode in the same window, with panels moved and resized in place.
- A grid that reflows to the window.
- One time range for the whole dashboard, and a time cursor shared between panels.
- Annotations on time plots (here: limit changes and monitor events, automatically).
- Thresholds drawn on the panel (here: from the limits in the mission file, so they cannot disagree with the alarms).
- Stat, bar gauge and state timeline panels.
- Kiosk mode.
- Dashboards as text files you keep in version control.
Not taken, and missing here:
- Template variables, repeated panels and per-panel queries. A Downrange widget names channels directly.
- Transformations and a query language. The nearest thing is a derived channel in the mission file.
- Alert routing: notifications, contact points, silences. Downrange shows limit state and logs changes. It notifies nobody.
- A plug-in ecosystem for panels and data sources, users, teams, sharing links, a web browser client.
- Histograms, heat maps, pie charts, logs, traces.
Different on purpose:
- Nothing is queried. Widgets read memory the daemon streams, every frame, with no refresh interval to set. No database or web server has to be installed or kept running.
- It works with no network.
- Maps, 3-D trajectory, attitude with your own model, and the globe are built in.
- Limits are evaluated in the daemon from each sample and replay to the same result. They are not a rule evaluated on a schedule against a database.
No performance comparison with Grafana has been made, and none is claimed.
Not done #
Cameras show live frames only: no video recording or replay. Maps don't pan or zoom, and draw no terrain heights. Schematics are read-only and typed by hand. No hidden-line or shaded 3-D. No undo in edit mode. The Plots page does not pop out. No per-widget colours. No time alignment between vehicles. No template variables. Two languages.