Data acquisition and Visualisation of LIDAR sensor in REAL TIME
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Thomas Satterly
2019-11-12
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Labeling, Segmentation, and Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!