The ground-station-ui should have a visual indication when anomalous measurements are detected from the rocket sensors. However, such calculations should not take place on the UI. Instead, the ground-station should detect such measurements and flag them so they are easily identifiable when the UI receives JSON packets through the websocket.
Proposed Solution
Have an intermediate step of checking for anomalous readings before sending out packets over the websocket to the UI.
Alternatives
N/A at this time.
Additional Context
It's important to consider how to best store the information of which measurements are anomalous. We don't want to create much extra clutter in the JSON packets, so storing on a per-measurement basis is probable not great:
Example:
Problem
The ground-station-ui should have a visual indication when anomalous measurements are detected from the rocket sensors. However, such calculations should not take place on the UI. Instead, the ground-station should detect such measurements and flag them so they are easily identifiable when the UI receives JSON packets through the websocket.
Proposed Solution
Have an intermediate step of checking for anomalous readings before sending out packets over the websocket to the UI.
Alternatives
N/A at this time.
Additional Context
It's important to consider how to best store the information of which measurements are anomalous. We don't want to create much extra clutter in the JSON packets, so storing on a per-measurement basis is probable not great: Example:
Instead, it might be better to only record anomalous measurements using a separate key: