Description
Issue: OpenMCT plugin only sends a packet's fields, but not its derivations.
Fix: Update OpenMct to include derivations in both
- the telemetry dictionary definition
- a packet instance
More details:
- Update the section that converts to the telemetry dictionary into an OpenMCT JSON structure
AIT-Core/ait/core/server/plugins/openmct.py
Line 215 in 184d8be
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-Core/ait/core/server/plugins/openmct.py
Line 226 in 184d8be
- Update the section that converts a telemetry packet
AIT-Core/ait/core/server/plugins/openmct.py
Line 207 in 184d8be
Similar to part 1, add a second loop the parallels fieldmap but for derivationmap.