Simulink ignore first part of data

4 Ansichten (letzte 30 Tage)
Bram Surewaard
Bram Surewaard am 8 Mär. 2021
Beantwortet: Nishan Nekoo am 4 Mär. 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!

Antworten (1)

Nishan Nekoo
Nishan Nekoo am 4 Mär. 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

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by