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

Telemetry Consumer API #2070

Open
pablogh-2000 opened this issue Jun 14, 2018 · 8 comments
Open

Telemetry Consumer API #2070

pablogh-2000 opened this issue Jun 14, 2018 · 8 comments

Comments

@pablogh-2000
Copy link

Dear all,

I am integrating my software with Open MCT, and I need to develop new view for telemetry data for UAVs. As suggested in the API documentation (https://github.com/nasa/openmct/blob/master/API.md#telemetry-consumer-apis-draft) I am contacting you about it.

Could you please provide me with doc, example, etc so I can start working on this? Is the new API for consumer views still under heaving development or is stable enough so that I can start using it?

Thanks and regards,

Pablo.

@deeptailor
Copy link
Contributor

deeptailor commented Jun 14, 2018 via email

@pablogh-2000
Copy link
Author

Thanks Deep.
Looking forward to the documentation.

@thesamprice
Copy link
Contributor

Did you make any progress on this? I also want to work on a ground track display

@thesamprice
Copy link
Contributor

Started looking at the heatmap example and starting to make progress that way.

@pablogh-2000
Copy link
Author

pablogh-2000 commented Sep 21, 2018

Hi all.
Does this comment mean that the documentation is now available to use the new Telemetry Consumer API?
If so, may I ask where is ti?

Thanks,

Pablo

@thesamprice
Copy link
Contributor

I haven't seen any documentation.
Ive been looking at https://github.com/nasa/openmct-heatmap
This probably isn't using the new api though ...

https://github.com/nasa/openmct-heatmap/blob/master/src/HeatmapController.js

            var identifier = idParts.length > 1 ?
                { namespace: idParts[0], key: idParts[1] } : idParts[0];
            requests.push(this.openmct.objects.get(identifier).then(function (obj) {
                this.metadata[property] = this.openmct.telemetry.getMetadata(obj);
                this.unsubscribes.push(this.openmct.telemetry.subscribe(
                    obj,
                    this.datum.bind(this, property)
                ));

im setting namespace to example.taxonomy
key to the name of my telemetry SPS_M.x
you might need to add type

@larkin
Copy link
Contributor

larkin commented Oct 1, 2018

Hey @thesamprice and others-- that is the current draft of the telemetry consumer apis, small changes may be made as we finalize it but the general pattern should not be changing significantly. We will be adding docs in the future as we finalize things.

@pablogh-2000
Copy link
Author

Hi @larkin,

does it mean that I should the link to the example provided by @thesamprice in order to use the new telemtry consumer API?

Is in there some general high level doc so I can get an idea of how it works?

Thanks,

Pablo.

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

4 participants