ami-iit / yarp-openmct

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

Fail properly when extracting vector collection samples from the telemetry sample while respective port has no data #150

Open nunoguedelha opened 1 year ago

nunoguedelha commented 1 year ago

When the port `` is disconnected or no data was never received by the time the vector collections dictionary is retrieved, we get the non blocking error:

TypeError: Cannot read properties of undefined (reading 'id') at http://192.168.1.70:8080/plugins/expandTelemetryMetadataInDict.js:11:45 at Array.filter (<anonymous>) at expandTelemetryMetadataInDict (http://192.168.1.70:8080/plugins/expandTelemetryMetadataInDict.js:10:54) at http://192.168.1.70:8080/plugins/dictionary-plugin.js:69:32 at async Promise.all (index 0)

TO BE VERIFIED...