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

Issue #210 - Adding DSN Monitor plugin #211

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Issue #210 - Adding DSN Monitor plugin #211

merged 1 commit into from
Apr 30, 2024

Conversation

nttoole
Copy link
Contributor

@nttoole nttoole commented Apr 17, 2024

Lunar Trailblazer (LTB) is using AIT and is curious about AIT adding support to display the DSN monitor data.

SunRise implemented a plugin that performs the processing of monitor data using the AMPCS monitor dictionary (monitor_channel.xml). They wrote a module to retrieve the '0158 Station Monitor Data' and re-encode into a JSON.
While they use OpenMCT for spacecraft telemetry, they did not have the resources to implement station

This PR took the SunRise plugin, refactored it, fixed a couple of minor bugs, and added documentation.
Caveat: this plugin has not been tested, so LTB team may need do some and provide feedback to us if necessary.

Closes #210

@nttoole nttoole requested review from a team as code owners April 17, 2024 01:01
@nttoole nttoole added the enhancement New feature or request label Apr 17, 2024
@jllamas
Copy link

jllamas commented Apr 17, 2024

Hello,

Is there ait.yml config example on how to enable the plugin? Do I need a dictionary yml similar like I do for tlm.yml?

Cheers,
Jake

@nttoole
Copy link
Contributor Author

nttoole commented Apr 17, 2024

For general guidance on activating and configuring AIT plugins, please review these docs:
https://ait-core.readthedocs.io/en/master/server_architecture.html

More specifically, you will want to add an entry similar to the following to your high-level config.yaml, under the server section (caveat: this is a quick draft) :

...

server:
        plugins:
            - plugin:
                name: ait.dsn.plugins.dsn_monitor.DSN_Monitor_Plugin
                inputs: []
                outputs:
                    - stream_name_for_plugin_output
                host: hostname_for_input_telem
                port: port_for_input_telem
                monitor_channel_file: /path/to/mission/monitor_channel.xml  
                
           ....

Then, whatever you decide will ingest the Plugin's output will set 'stream_name_for_plugin_output' (or something more appropriate) as one of it's inputs.

@nttoole nttoole merged commit 46c5a67 into master Apr 30, 2024
@nttoole nttoole deleted the issue-210 branch April 30, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add DSN monitor data plugin
3 participants