Customize Scene with Unreal Engine failed in R2020b
1 view (last 30 days)
Back in MATLAB R2020a, I was able to follow the guide at https://www.mathworks.com/help/driving/ug/customize-scenes-using-simulink-and-unreal-editor.html to get my vehicle simulation to work with a 3D scene created by modification from an existing AutoVrtlEnv project level. Now I cannot seem to do the same thing with the newly shipped MATLAB R2020b. There's something not right. Tried the guide on both my Windows PCs, didn't work, need some help.
After click RUN in my Simulink model, and click PLAY in the UE4 editor, I got static image in UE4 window, and black screen on the 3D Camera Read block popped up window. The diagnostic viewer throws repretead warning message below:
> In sim3d/CameraReader/read
Warning: The block 'DriftDemoBicycle/3D Visualization/Simulation 3D Camera Get/Simulation 3D Camera Read' returned no data (error code: -1). Make sure that the block sample time is greater than the Simulation 3D Scene Configuration block sample time.