real-time

Fast, Real-time plotting of points using pyqtgraph and a LiDAR

强颜欢笑 提交于 2020-12-29 07:37:30
问题 I want to create a real-time, point plotting GUI. I am using the Scanse Sweep LiDAR, and at each sweep of this LiDAR (working between 1 - 10Hz) I receive approximately 1000 points (x, y) describing the LiDARs surrounding. This is a 2D LiDAR. I have looked everywhere and tried countless of code snippets for pyqtgraph, but either it crashes, is super slow or doesn't work at all. Is there a straight-forward way of creating a plotter window and upon each new scan/data delivery, push those points

Fast, Real-time plotting of points using pyqtgraph and a LiDAR

懵懂的女人 提交于 2020-12-29 07:35:08
问题 I want to create a real-time, point plotting GUI. I am using the Scanse Sweep LiDAR, and at each sweep of this LiDAR (working between 1 - 10Hz) I receive approximately 1000 points (x, y) describing the LiDARs surrounding. This is a 2D LiDAR. I have looked everywhere and tried countless of code snippets for pyqtgraph, but either it crashes, is super slow or doesn't work at all. Is there a straight-forward way of creating a plotter window and upon each new scan/data delivery, push those points

How to Auto scale y and x axis of a graph in real time python

我只是一个虾纸丫 提交于 2020-07-22 05:58:04
问题 I modified the code of this tutorial to create my own real time plot: https://learn.sparkfun.com/tutorials/graph-sensor-data-with-python-and-matplotlib/speeding-up-the-plot-animation I needed to plot the data from a proximity sensor in real time, the data is sent through USB cable to the computer and I read it with the serial port, so the code is already working how I wanted to, but I also want to modify the y-axis and x-axis, not let it static, because sometimes the peaks are 3000 and

How to Auto scale y and x axis of a graph in real time python

孤者浪人 提交于 2020-07-22 05:57:12
问题 I modified the code of this tutorial to create my own real time plot: https://learn.sparkfun.com/tutorials/graph-sensor-data-with-python-and-matplotlib/speeding-up-the-plot-animation I needed to plot the data from a proximity sensor in real time, the data is sent through USB cable to the computer and I read it with the serial port, so the code is already working how I wanted to, but I also want to modify the y-axis and x-axis, not let it static, because sometimes the peaks are 3000 and