Skip to content

Update websocket for changed signal structure #58

Merged
MaddieWright merged 3 commits intoUBCMint:mainfrom
katelyn-chun:websocket
Mar 1, 2026
Merged

Update websocket for changed signal structure #58
MaddieWright merged 3 commits intoUBCMint:mainfrom
katelyn-chun:websocket

Conversation

@katelyn-chun
Copy link
Contributor

@katelyn-chun katelyn-chun commented Jan 25, 2026

What?

  • Updated websocket to normalize new data format

How?

  • Mapped the batches in websocket instead of signal-graph-node, for the new 2D array format
  • Ensured the entries were in the format of time, signal1, signal2, signal3, signal4
  • Changed server.js to send sample data with the new batched format

Test pictures:
image

Snapshot of backend log:
image

@MaddieWright MaddieWright self-requested a review February 1, 2026 23:40
Copy link
Collaborator

@MaddieWright MaddieWright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, good work!

@MaddieWright MaddieWright merged commit df20442 into UBCMint:main Mar 1, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants