Simulink video viewer black screen

조회 수: 9 (최근 30일)
Mayuresh Bhosale
Mayuresh Bhosale 2023년 8월 25일
답변: Nishan Nekoo 2024년 12월 4일 14:22
Hi all,
The video viewer does not show output of the vehicle camera in the simulation. The environment is based on unreal engine 4.23 and the output warning shown is
Warning: The block 'Simulation 3D Camera' returned no data (error code: -1). Make sure that the block sample time is greater than the Simulation 3D Scene Configuration block sample time. > In sim3d/CameraReader/read In sim3d/AbstractCameraSensor/read In sim3d/CameraVisionSensor/read In Simulation3DCamera/stepImpl
Although the camera viewer sample time is greater than the 3D scene it throws the same error.
Looking forward to your response
  댓글 수: 1
Nishan Nekoo
Nishan Nekoo 2023년 8월 25일
Hi Mayuresh! What are the sample times that you are using for both the viewer and the 3D scene configuration block? Can you attach your model here so that we can take a look?

댓글을 달려면 로그인하십시오.

답변 (1개)

Nishan Nekoo
Nishan Nekoo 2024년 12월 4일 14:22
This issue may arise if all the Sim3D blocks are not in the same subsystem. Place all the blocks in the same subsystem if possible, then update the execution order. See more information here.

Community Treasure Hunt

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

Start Hunting!

Translated by