Data acquisition and Visualisation of LIDAR sensor in REAL TIME

1 Ansicht (letzte 30 Tage)
Hello Guys :)
I have a LIDAR sensor with CANOpen Communication, which sends/has 11 beams in an angle of 88°. I already created a Simulink-Model where the distance for each beam are visible. Now I would like to create a Visualization for the LIDAR sensor, please look at the attachment.
The problem is, I don't know how to realize the live or real time Visualization. I would be thanksful for each recommendation.

Akzeptierte Antwort

Thomas Satterly
Thomas Satterly am 12 Nov. 2019
Matlab isn't very good at graphics with high update rates, but it is doable. I'd suggest looking at the line and scatter objects closely, specifically the XData, YData, and ZData properties. You can continuously update properties in line or scatter (or any graphics primitive) object and make a call to drawnow to re-draw the plot, which is about the fastest method for animating data. You should also minimize the number of graphics objects that are in the plot, i.e., a single line object with 10,000 points is much more graphically efficient than 100 lines with 100 points each. A scatter type might be more helpful in your case because you can also set the color per data point, as is seen in your example images.

Weitere Antworten (0)

Kategorien

Mehr zu Labeling, Segmentation, and Detection finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by