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)
Comments URL: https://news.ycombinator.com/item?id=23423376
Points: 1
# Comments: 0
from Hacker News: Newest https://ift.tt/2UbxVJ0
via IFTTT
No comments:
Post a Comment