nasa / openmct

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

how to update dictionary.json and restart spacecraft.js in realtime for changing parameters in realtime #3790

Closed Vaibhav2121 closed 3 years ago

Vaibhav2121 commented 3 years ago

Dear Software desginers

I have an issue with this software, presently as shown in telemetry integration example parameters definition is defined in dictionary.json file. Suppose there are 1000 parameters and 10 users of software. Each user wants to monitor different parameters which he can change in realtime. How to modify dictionary.json and restart spacecraft.js in realtime to acquire new parameters in real time.

DusterTheFirst commented 3 years ago

The example application has the telemetry values hard-coded as an example. If you want to setup dynamic telemetry parameters, you can modify the node.js server code to accommodate that. This project is not a drop in application, but provides many APIs for a programmer to integrate it however they please. The code that you write will be specific to your application, but you can build off of the tutorial code, replacing the JSON file with something else that can be dynamically updated.

DusterTheFirst commented 3 years ago

This may be better suited as a discussion topic: https://github.com/nasa/openmct/discussions/categories/community-q-a

jvigliotta commented 3 years ago

@Vaibhav2121 @DusterTheFirst I'll move this over to discussions for any further... discussion.