Ask HN: Best language or library for handling data streams from sensors?
I'm often in a situation where I have some sensors (e.g. temperature, camera, seismometer, GPS, CO2 concentration, force/torque sensor, spectra from instrument ...), and I want to collect that data with a bit of live processing and display. LabView seems popular for this, but I'd like something free and open source. I've built some systems like this in python and some in C++, but it feels like "reinventing the wheel" each time. I'd like something where I define inputs, define some live plots, define storage, and I'm done. Maybe ROS is the way to go?
2 comments
[ 3.2 ms ] story [ 20.4 ms ] threadIn the past, I've mostly used python where I create a singleton class for each instrument, store to sqlite, plot with holoviews. It's fine, but I find managing the concurrency on the input side quite complicated and annoying to manage and when I have pull-based sensors rather than sensors that update at a fixed rate I'm never sure if I'm getting data as quickly as I could be.