nasa / openmct

A web based mission control framework.
https://nasa.github.io/openmct/
Other
12.09k stars 1.26k forks source link

Telemetry Consumer API #2070

Open pablogh-2000 opened 6 years ago

pablogh-2000 commented 6 years ago

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 commented 6 years ago

Hi Pablo,

I am currently finishing up the documentation around the new View API and integrating it with the new Telemetry API. It has a pretty easy to follow example of building a view and integrating it with the telemetry API. I will publish the documentation very soon. But for starters the following issue has a good starting point for building a view using the new API:

https://github.com/nasa/openmct/pull/1642 https://github.com/nasa/openmct/pull/1642

Please let me know if I can clarify anything.

Thanks,

Deep Tailor

On Jun 14, 2018, at 12:45 PM, pablogh-2000 notifications@github.com wrote:

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 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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nasa/openmct/issues/2070, or mute the thread https://github.com/notifications/unsubscribe-auth/AMpXkBalEiRGq3y5MT2tYAgz6RPTF4Vlks5t8r1RgaJpZM4UojUS.

pablogh-2000 commented 6 years ago

Thanks Deep. Looking forward to the documentation.

thesamprice commented 6 years ago

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

thesamprice commented 6 years ago

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

pablogh-2000 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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.