equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 38 forks source link

Report specific robot attribute updates with SignalR #1796

Open andchiind opened 1 week ago

andchiind commented 1 week ago

Describe the improvement you would like to see Currently when a field in the robot model is updated, we send the whole robot object to the frontend with SignalR. The issue with this is that when we update different fields around the same time, one of the updates may be ignored in the second signalR message. By only sending the specific field on the robot which has been updated we avoid this issue. There may be a potential backend solution as well, but this might be harder to implement.

How will this change existing functionality? The robot values displayed on the frontend (status, battery level, pressure etc) will be more up to date. Currently we may need to wait for a new signalR message to get the previous battery level for instance.

How will this improvement affect the current Threat Model? N/A