Simulink ignore first part of data

3 visualizaciones (últimos 30 días)
Bram Surewaard
Bram Surewaard el 8 de Mzo. de 2021
Respondida: Nishan Nekoo el 4 de Mzo. de 2025
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!

Respuestas (1)

Nishan Nekoo
Nishan Nekoo el 4 de Mzo. de 2025
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

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by