Hi everyone,
I am working on a mini-project to simulate the MoCap OptiTrack system in Simulink. I followed a thread on creating actors using classes and .mat files, and I can successfully view my actors (walls and a stage representing the OptiTrack room) in the 3D Scene Configuration.
However, I am struggling to correctly place the 3D cameras (Simulation 3D Cameras). If I understand the actor hierarchy correctly it seems that the "Walls" actor is the parent of "leftWall", "leftWall" is the parent of "farWall" and "farWall" is the parent of "rightwall". I am not sure if you are able to place the cameras on the "children" as I can't seem to choose a breadcrumb for its parent name, i.e. Walls/leftWall and then set a mounting offset which always seems to be shaded and inaccesible no matter the parent. Since these walls are meant to be static, I suspect I may be missing something simple.
I also tried positioning the cameras relative to the scene origin, but even then, they do not appear when I run the simulation. In the image below, I attempted to add a single camera (commented out the other 7), setting its Parent Name to the scene origin and using a Relative Translation of [1, 0, 1] as a test, just to visualize it before assigning it to its correct known location. As you can see the camera is not visible but is recognised as being part of the scene.
Thus far I have only used simulink and (besides downloading) haven't used unreal engine. I am not opposed to using it but I would prefer if we can stick to only solving this issue with simulink.
Also, as a bonus is it possible to view the capture volume of the eight cameras visually in the simulation as well?
Any advice on what I might be doing wrong or missing would be greatly appreciated. Thanks in advance!