ami-iit / yarp-openmct

Repo for YARP and OpenMCT integration.
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Add exported panel with yarprobotinterface logging table #163

Closed nunoguedelha closed 1 year ago

nunoguedelha commented 1 year ago

This implementation requires minor changes and illustrates well how to add pre-exported panels in the domain objects left pane of the Yarp-OpenMCT visualiser.

Summary of changes

  1. Add the exported .json file to the folder <repo-root-path>/exchange/<arbitrary-created-sub-folder>,
  2. Add respective sub-folder and telemetry entry in the dictionary dictionaryMySavedPanels.json
  3. Add an instance of the plugin StaticImportObjectPlugin providing, as function inputs:
    • the namespace such that <namespace>:root is laways unique,
    • the exported file path relative to the repo rooth path,
    • the root location namespace:id of the imported metadata: yarpopenmct:mySavedPanels.
nunoguedelha commented 1 year ago

Thanks @S-Dafarra !