Skip to content

Commit 4ffe345

Browse files
committed
use uv; no camera
1 parent 10ee3ae commit 4ffe345

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/ci.sapien.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
- uses: actions/setup-python@v3
1111
with:
1212
python-version: '3.10'
13-
- run: pip install -e ".[sapien3]"
13+
- run: pip install uv
14+
- run: uv pip install -e ".[sapien3]"
1415
- run: >
1516
python metasim/test/state_consistency.py --sim=sapien3

metasim/test/state_consistency.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
from metasim.cfg.objects import ArticulationObjCfg, PrimitiveCubeCfg, PrimitiveSphereCfg, RigidObjCfg
2020
from metasim.cfg.scenario import ScenarioCfg
21-
from metasim.cfg.sensors import PinholeCameraCfg
2221
from metasim.constants import PhysicStateType, SimType
2322
from metasim.utils import configclass
2423
from metasim.utils.setup_util import get_sim_env_class
@@ -51,9 +50,6 @@ def __post_init__(self):
5150
num_envs=args.num_envs,
5251
)
5352

54-
# add cameras
55-
scenario.cameras = [PinholeCameraCfg(width=1024, height=1024, pos=(1.5, -1.5, 1.5), look_at=(0.0, 0.0, 0.0))]
56-
5753
# add objects
5854
scenario.objects = [
5955
PrimitiveCubeCfg(

0 commit comments

Comments
 (0)