4 ms·
For magnet levitation project I am dumping data to a csv on a rpi and then reading it over ssh onto matplotlib on my desktop. It works but it choppy. Probably b
by rcpt 2y ago
For magnet levitation project I am dumping data to a csv on a rpi and then reading it over ssh onto matplotlib on my desktop. It works but it choppy. Probably because of the ssh.
Could I drop rerun into this to improve my monitoring?
https://youtube.com/shorts/Y1LGSMFisDc https://youtube.com/shorts/Y1LGSMFisDc
- alsodumb 2y agoYes! Rerun can definitely make your life a lot easier! Rerun natively supports the server and the viewer being on different devices (https://rerun.io/docs/reference/sdk/operating-modes https://rerun.io/docs/reference/sdk/operating-modes). In your case, in the script you are dumping data into csv, I'd add the relevant lines to log data to rerun. On the desktop side, you can spawn a viewer that can listen to the stream and visualize it.
- rcpt 2y agoGot it working this afternoon this is great! thanks
- westurner 2y agoFrom "Show HN: We open-sourced our [rpi CSV] compost monitoring tech" https://news.ycombinator.com/item?id=42201207 https://news.ycombinator.com/item?id=42201207 : Nagios, Collectd, [Prometheus], Grafana From "Preview of Explore Logs, a new way to browse your logs without writing LogQL" https://news.ycombinator.com/item?id=39981805 https://news.ycombinator.com/item?id=39981805 : > Grafana supports SQL, PromQL, InfluxQL, and LogQL. From https://news.ycombinator.com/item?id=40164993 https://news.ycombinator.com/item?id=40164993 : > But that's not a GUI, that's notebooks. For Jupyter integration, TIL pyqtgraph has jupyter_rfb, Remote Frame Buffer: https://github.com/vispy/jupyter_rfb https://github.com/vispy/jupyter_rfb pyqtgraph: https://github.com/pyqtgraph/pyqtgraph https://github.com/pyqtgraph/pyqtgraph Matplotlib can generate GIF and WEBM (and .mp4) animations, but not realtime. ManimCE might work in notebooks, but IDK about realtime Genesis is fast enough by FPS for faster than realtime 3D with Python (LuisaRender) and a GPU: https://github.com/Genesis-Embodied-AI/Genesis https://github.com/Genesis-Embodied-AI/Genesis