@openattitude/steam-egt-senecaii
v0.1.0
Published
Steam-style SenecaII EGT gauge for OpenAttitude
Downloads
21
Readme
@openattitude/steam-egt-senecaii
Copyright (c) Torsten Dreyer ([email protected]). SPDX-License-Identifier: LGPL-3.0-or-later.
Exhaust gas temperature (EGT) gauge (Seneca II steam style): single needle versus a 1200–1700 °F linear segment (piecewise table with two knots); pivot at (250, 350).
Installation
npm install @openattitude/steam-egt-senecaii @openattitude/core vuePeers: vue ^3.5. installPanelMath() required.
Export
EgtIndicator
Props
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| egtDegF | number \| null | null | EGT (°F), FG egt-degf. Treated as 0 when null for interpolation (clamps below table to min angle). |
Usage
<script setup lang="ts">
import { EgtIndicator } from '@openattitude/steam-egt-senecaii';
</script>
<template>
<EgtIndicator :egt-deg-f="egt" />
</template>Development
npm run dev:testbed --workspace=@openattitude/steam-egt-senecaii
npm run test --workspace=@openattitude/steam-egt-senecaii
npm run build --workspace=@openattitude/steam-egt-senecaiiSpec coverage: src/EgtIndicator.spec.ts exercises table endpoints, mid-point interpolation, clamping, and null handling.
