Simulink ignore first part of data

12 次查看(过去 30 天)
Hey,
I'm working with the Simulation 3D Lidar Simulink block (https://www.mathworks.com/help/driving/ref/simulation3dlidar.html).
I need to work with the data, however when I run the simulation the first scan from the sensor is an emtpy pointcloud, i think this is because of the whole simulation starting up. Since this scan is emtpy the rest for the simultion can't run.
So I was wondering if there is a way to ignore or remove the first data part of the data stream.
Thanks!

回答(1 个)

Nishan Nekoo
Nishan Nekoo 2025-3-4
Hi Bram,
Apologies for the delayed response here. You are right that there is a delay to be expected in receiving pointcloud data due to the rendering pipeline and this is consistent with how some sensors might work in the real world. You might have already moved past this issue since it was a long time ago but I am curious what you mean by "the rest for the simultion can't run."
I think that this delay needs to be accounted for using custom logic if necessary in the Simulink model to avoid any errors due to how the data is used.
Nishan

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by