Repository navigation
Description
Describe the bug
Hi,
I try to load an USDZ file from NVIDIA Asset Stores(beta).
It seems part of the resource of NVIDIA Asset Store is from sketchfab.com.
The problem I met is about collision detection between objects:
case 1:
load the usdz file using USD Composer, add a cube in to the scene.
The collision between the table(from usdz file) and the cube can be detected well.
case 2:
load the usdz file using orbit framework.
python code is given by the orbit tutorial:
NVIDIA-Omniverse/orbit/blob/main/source/standalone/tutorials/00_sim/spawn_prims.py
The given tutorial example also load an usd file and the collision works well.
However, when I replace the usd file with my USDZ file, the collision does not work well.
I feel confused about this.
The attachment is the usdz file I was using.
Dining_room__Kichen_baked.zip
Steps to reproduce
When load the usdz file using python script, it need to rotate to make it look right, here is the code, can be added to the design_scene() function in spawn_prims.py file :
cfg = sim_utils.UsdFileCfg(usd_path="Documents/my_usd_assets/Dining_room__Kichen_baked.usdz", scale=(0.01, 0.01, 0.01))
import numpy as np
from scipy.spatial.transform import Rotation as R
q1 = R.from_quat([0, 0, 0, 1])
x_minus90 = R.from_rotvec(90 * np.array([1, 0, 0]), degrees=True)
q2 = x_minus90 * q1
orn = q2.as_quat()
orn = (orn[3], orn[0], orn[1], orn[2])
cfg.func("/World/Objects/Dining_room__Kichen_baked", cfg, translation=(0.0, 0.0, 0.0), orientation=orn)
System Info
Describe the characteristic of your environment:
- Commit: [3c0626f]
- Isaac Sim Version: 2023.1.1
- OS: [Ubuntu 20.04]
- GPU: [RTX A6000]
- CUDA: [11.6]
- GPU Driver: [.]
Additional context
upload two video shows case 1 and case 2
cases_video.zip
Checklist
- [ x] I have checked that there is no similar issue in the repo (required)
- [x ] I have checked that the issue is not in running Isaac Sim itself and is related to the repo
Acceptance Criteria
Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.
- [ x] Criteria 1
- [x ] Criteria 2
Activity
Updates task workflow and other documentation pages (#255)
Updates task workflow and other documentation pages (#255)
Updates task workflow and other documentation pages (isaac-sim#255)
Adds reset for manager terms (isaac-sim#255)
Updates task workflow and other documentation pages (isaac-sim#255)