All docsStellar ControlMission control · by Stellar Systems v1.1.0

Tools

Playground and WebAssembly

Stellar Control in the browser: a configuration repository checked as you type, its snapshot, and simulations written from the catalogues, by the compiler itself compiled to WebAssembly.

The playground lets anyone try the configuration language of Stellar Control in a browser, without an account and without installing anything. It opens the configuration repository of a template — a test bench, a fleet, a balloon, a laboratory, a pumping station or the satellite platform — and checks it as you type with the compiler of Stellar Control itself, compiled to WebAssembly. Nothing leaves the page: the repository lives in the browser.

It is part of the online trial: https://control.stellar-systems.eu/#/playground, or #/playground/<template> for one template.

What it does#

PartWhat it showsAs on the command line
EditorThe files of the repository, highlighted (YAML, steps and procedures); the problems underlined where they are, their message on hover—
ProblemsEach diagnostic: severity, message, file:line, code and help; a click opens the file at its placestellar check
RepositoryThe hash of the snapshot, the catalogues, the topology, the libraries (steps, procedures, whether to lock again) and the simulationsstellar compile, stellar check
SimulationThe simulation of a platform written from its catalogue, each telecommand checked in simulated time, what is left to complete; Add to the repository puts it among the files. A simulation of the repository checked against its cataloguestellar generate simulation, stellar sim check

The snapshot is the same as stellar compile gives on the same files: the same hash, to the bit. A check takes a few hundred milliseconds and runs in a Web Worker, so the editor stays responsive. Reset gives the files of the template back; Get an environment goes on to the trial, where the same configuration runs on simulated equipment, with the web console and its editor.

The playground does not run procedures: a dry run needs the services of Stellar Control and a message bus. That is what an environment of the trial gives.

In the browser#

The playground runs the part of stellar that only computes on a configuration repository — the compiler, the code generators and the simulation engine — compiled to WebAssembly. Diagnostics are placed as in the Language Server Protocol and rendered as stellar check prints them; the JSON Schemas of the catalogues, libraries, topology and simulations are those of stellar schema.

What does not run in a browser stays on the command line: the commands that talk to the API or to the message bus (the web console does that in a browser), and dry runs.

↑↓ to moveEnter to open