Ask HN: How to visualize UDP data for a drone dashboard?

1 points by ilyas121 ↗ HN
I have a lot of telemetry/state data about my drone that I’m sending over UDP, and I want to make cool visualizations and charts from them.

Pipe dream: A way to get UDP data send to a JS client so that I can graph different metrics on a website hosted locally.

Brainstorm so far: Python server listening on multiple ports For loop to switch between sockets and collect data (open to threading here if ppl think it’s faster)

Transmission to website:

Server Side Events: (tested, works) Issue: I want bidirectional communication

WebRTC: Issue: Struggle with complexity of python implementation (aiortc) Pro: DataChannel is super fast <2ms

Websocket: TBD, haven’t tried it yet

Edit: (formatting)

0 comments

[ 1.5 ms ] story [ 12.0 ms ] thread

No comments yet.