Closed command-z-z closed 1 month ago
I re-check the code and find the reason. The following code will find Town01_Opt
prims' children nodes.
https://github.com/leggedrobotics/viplanner/blob/61016e892366fdebc46640a4784b6c69f7e8a360/omniverse/extension/omni.viplanner/omni/viplanner/utils/unreal_importer.py#L175-L185
hello, thank you for your awesome project and clear framework, i have some confuse in
_add_semantics
function.In L137 code, you recursively get mesh prims in
self.cfg.prim_path + "/terrain"
path. https://github.com/leggedrobotics/viplanner/blob/61016e892366fdebc46640a4784b6c69f7e8a360/omniverse/extension/omni.viplanner/omni/viplanner/utils/unreal_importer.py#L132-L137 However, I found atown_prim: "Town01_Opt"
under this path which it has typeName asXform
. According to the functionget_mesh_prims
, only thisXform
prim will be appended and pause recursive search. Will the rest of the mesh not update its semantics? https://github.com/leggedrobotics/viplanner/blob/61016e892366fdebc46640a4784b6c69f7e8a360/omniverse/extension/omni.viplanner/omni/viplanner/utils/unreal_importer.py#L361-L380