3D visualization error in simulink
10 views (last 30 days)
Show older comments
Hello, I am trying to do a simple trajectory following vehicle motion with a pure pursuit controller, and now I am trying to visualize it in a scene, downloaded the add-on, started it, it first threw an error, I updated directX drivers, now it opens up the unreal engine window, and after a long time, it shows a stationary image, no vehicle or nothing. I have to say I have a very low end laptop, but I just want to see it moving.
The full error:
MATLAB System block 'purePursuitUSCity/Simulation 3D Scene Configuration/Simulation 3D Engine' error occurred when invoking 'resetImpl' method of 'Simulation3DEngine'. The error was thrown from ' 'C:\Program Files\MATLAB\R2022a\toolbox\shared\sim3d\sim3d\+sim3d\CommandReader.p' at line 0 'C:\Program Files\MATLAB\R2022a\toolbox\shared\sim3dblks\sim3dblks\Simulation3DEngine.p' at line 0 'C:\Program Files\MATLAB\R2022a\toolbox\simulink\ui\studio\config\m\+SLStudio\StartPauseContinue.p' at line 0 'C:\Program Files\MATLAB\R2022a\toolbox\simulink\ui\studio\config\m\+SLStudio\ToolBars.p' at line 0'.
Caused by: 3D Simulation engine interface read error (error code: 10).
What should I do ?
Also is there another way I could visualize this 3d in simulink? I am not a fan of UE because it is very slow on my rig.
Answers (1)
Jan Houska
on 30 Apr 2023
Hello,
please see the Simulink 3D Animation product and the vr_octavia example. This example uses 3D visualization engine based on X3D which is much more lightweight than Unreal Engine. You should be able to use it even on less powerful machines.
Good Luck, Jan
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!