Unverified Commit 9a2e9349 authored by Louis LE LAY's avatar Louis LE LAY Committed by GitHub

Fixes ground height in factory environment (#2071)

# Description

The table in the factory environment was initially positioned halfway
into the ground due to an incorrect height translation. This PR corrects
the initialization height to properly align the table with the ground,
resolving the issue.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Screenshots

| Before | After |
| ------ | ----- |
| ![Screenshot from 2025-03-13
08-02-24](https://github.com/user-attachments/assets/5aeb65c7-dd29-4ef1-a8fa-cb6a21cbe398)
| ![Screenshot from 2025-03-13
08-01-17](https://github.com/user-attachments/assets/7e932af3-f592-4da5-852f-9f8e21c54dae)
|


## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
parent 6f8ec452
......@@ -157,7 +157,7 @@ class FactoryEnv(DirectRLEnv):
def _setup_scene(self):
"""Initialize simulation scene."""
spawn_ground_plane(prim_path="/World/ground", cfg=GroundPlaneCfg(), translation=(0.0, 0.0, -0.4))
spawn_ground_plane(prim_path="/World/ground", cfg=GroundPlaneCfg(), translation=(0.0, 0.0, -1.05))
# spawn a usd file of a table into the scene
cfg = sim_utils.UsdFileCfg(usd_path=f"{ISAAC_NUCLEUS_DIR}/Props/Mounts/SeattleLabTable/table_instanceable.usd")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment