Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.55 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.55 KB

Open MCT Plugin Template

This is a template for developing plugins for Open MCT. It includes example plugins demonstrating basic usage of the Open MCT API for requesting, subscribing to, and displaying data. This document is a work in progress and will be updated with more examples and guidance.

Table of Contents

Setup

  1. Ensure nvm is installed.
  2. Open a terminal at the project root and run nvm install to install the node version specified in .nvmrc.
  3. Use nvm use to switch to the correct node version.
  4. Install dependencies with npm install.
  5. Start the development server with npm start.
  6. To build for production, run npm run build.

Examples

Simple LAD Table

A simplified version of a LAD Table that displays the latest value for a given parameter. Demonstrates how to use TelemetryCollection for data subscription and CompositionCollection for parameter management in a table.

Simple Telemetry Table (WIP)

A work-in-progress example showing how to use TelemetryCollection for requesting historical data and subscribing to the latest parameter values.

TODO

  • - Example plugin for displaying realtime (latest) data.
  • - Example plugin to display historical data.
  • - Updated guidance for unit testing.
  • - Demonstrate usage of openmct-e2e for testing.