Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add derivation defintions and values to OpenMCT plugin #501

Open
nttoole opened this issue Oct 26, 2023 · 0 comments
Open

Add derivation defintions and values to OpenMCT plugin #501

nttoole opened this issue Oct 26, 2023 · 0 comments

Comments

@nttoole
Copy link
Contributor

nttoole commented Oct 26, 2023

Issue: OpenMCT plugin only sends a packet's fields, but not its derivations.

Fix: Update OpenMct to include derivations in both

  1. the telemetry dictionary definition
  2. a packet instance

More details:


  1. Update the section that converts to the telemetry dictionary into an OpenMCT JSON structure
    def format_tlmdict_for_openmct(ait_tlm_dict):

I suspect there is enough commonality between fields and derivation objects (name, units, type) that you could just add another loop that iterates over a packet-def’s derivationmap, almost a parallel of what it does for fieldmap:

ait_pkt_fieldmap = ait_pkt_def.fieldmap


  1. Update the section that converts a telemetry packet
    ait_pkt_fieldmap = ait_pkt_def.fieldmap

Similar to part 1, add a second loop the parallels fieldmap but for derivationmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant