Skip to content
tofupilotPublic

About

Example operator panels for TofuPilot: custom HTML and SVG test station screens bound to live measurements, runnable with mocked instruments.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TofuPilot Panels

Example operator panels for TofuPilot: custom test station screens written in plain HTML, CSS and inline SVG, bound to live measurements with data-bind. No JavaScript.

See them running live at tofupilot.com/panels, and learn how panels work in the docs.

Example Shows
Airspeed Indicator An SVG arc that sweeps with a live value and turns red past a red line
Attitude Indicator A horizon that pitches and banks behind a fixed aircraft symbol
Altimeter An arc that sweeps to the live altitude, with a bug on the selected one
Turn Coordinator An aircraft that banks with the turn rate, and a slip ball
Heading Indicator A compass card that turns under the lubber line, with a heading bug
Vertical Speed Indicator An arc that fills up in a climb, down in a descent, red past a sink limit
Battery Cycler Channel A cycler channel's front panel: V, A, CC/CV and overcurrent
Battery HiTester An AC-IR meter's LCD with its HI / IN / LO comparator
Temperature Scanner An 8-channel thermocouple scanner with per-channel alarms
State of Charge SOC as twenty segments, with the charge moved
Cell Voltage Balance Thirteen cells as deviation from the mean, with balancing
Charge and Discharge The cycler software's voltage and current plot of the run
Vacuum Gauge Controller A two-channel vacuum gauge controller with setpoint relays
Thermal Controller A chamber programmer's PV and SV through a thermal cycle
Spectrum Analyzer A spectrum analyzer's screen on the downlink carrier, with its marker
Spacecraft Power Supply The EGSE supply on the 28 V bus: V, A, CV/CC and the limit lamp
Random Vibration The vibration controller's PSD through the level steps
Reaction Wheels Four reaction wheels from telemetry on center-zero bars
Digital Multimeter A 6½-digit multimeter scanning a board's rails
Triple-Output Power Supply A triple-output supply's display with CV and CC per channel
Oscilloscope A 4-channel scope screen on a board's power-up sequence
Test Point Probing A KiCad board's test points probed one by one
Board View A KiCad board's parts lit step by step by the functional test
Relay Matrix A 4 x 16 switch matrix routing the meter node by node
LED Color Eight LEDs dropping into their bins on the CIE 1931 diagram
Bourdon Pressure Gauge A Bourdon gauge with a drag pointer on a leak test
Moving-Coil Ammeter A moving-coil ammeter with a mirror scale and a damped needle
Chart Recorder A two-pen paper chart recorder on a climatic chamber
Force Gauge A force gauge on a connector insertion, with its force curve
Electronic Load A DC electronic load discharging a lead-acid battery
LED Level Meter A two-channel LED level meter with peak hold
Alarm Annunciator An alarm annunciator with an ISA-18.1 first-out sequence
Burn-in Heat Map A thermal camera's heat map over a KiCad board in burn-in
USB 2.0 Eye and Mask A USB 2.0 eye with persistence against its mask
Antenna Match on a Smith Chart An antenna's S11 sweep on a Smith chart as it is matched
16-QAM Constellation A 16-QAM constellation tightening as the amplifier is tuned
I²C Logic Capture A logic analyzer decoding an I²C temperature read
Calibration Rig A camera calibration rig with every ChArUco target detected
Chessboard Detection A chessboard's inner corners found row by row
ChArUco Board A ChArUco board's markers, corners and pose
ArUco Markers Six ArUco markers identified, each with its pose
Reprojection Error Reprojection error per target and every corner's residual
Camera Extrinsics The camera and each rig target's measured pose in 3D
Wafer Map A wafer's bin map filling in as the probe card steps across it
Probe Card Touchdown A multi-site probe card's sites colored by bin at every touchdown
Parametric Wafer Map A heat map of each die's threshold voltage across the wafer

Run an Example

Every example runs on mocked instruments, so no hardware is needed.

curl -fsSL https://www.tofupilot.app/install | sh   # TofuPilot CLI 2.8.0 or newer
git clone https://github.com/tofupilot/panels
cd panels
tofupilot run airspeed

The run opens the operator UI in your browser with the panel live.

Structure

<example>/
  procedure.yaml      # plugs, phases, measurements and limits, ui.panel
  phases/*.py         # the test
  plugs/*.py          # the instruments, mocked: replace them with your drivers
  panels/*.html       # the panel
  preview.json        # a recorded run, replayed on tofupilot.com/panels
panels.json           # the gallery's list: category, industry, minimum CLI, files
scripts/record.py     # runs an example and records preview.json

Add an Example

  1. Create a folder with procedure.yaml, phases/, plugs/ and panels/, and check it passes with tofupilot run <folder>.
  2. Add it to panels.json. category is what the panel shows (gauges, indicators, bars, synoptics, alarms, inputs, animation, layout); industry is one of the industry pages.
  3. Record its preview with CLI 2.8.0 or newer: pip install pyyaml && python scripts/record.py <folder>.

The gallery shows a tagged release of this repository, so a new example appears on tofupilot.com once a release includes it.

License

MIT: copy the panels into your own procedures.

About

Example operator panels for TofuPilot: custom HTML and SVG test station screens bound to live measurements, runnable with mocked instruments.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages