Skip to content

[BUG FIX] Fix gravity setters.#1498

Merged
duburcqa merged 4 commits intoGenesis-Embodied-AI:mainfrom
Milotrince:fix_set_gravity
Aug 5, 2025
Merged

[BUG FIX] Fix gravity setters.#1498
duburcqa merged 4 commits intoGenesis-Embodied-AI:mainfrom
Milotrince:fix_set_gravity

Conversation

@Milotrince
Copy link
Contributor

Description

Allow for set_gravity per env

Related Issue

set_gravity was first introduced in #1324

Motivation and Context

Previous implementation did not properly set gravity per environment; taichi field should be set using kernel (no slicing)

How Has This Been / Can This Be Tested?

Updated test_rigid_physics.py

Checklist:

  • I read the CONTRIBUTING document.
  • I followed the Submitting Code Changes section of CONTRIBUTING document.
  • I tagged the title correctly (including BUG FIX/FEATURE/MISC/BREAKING)
  • I tested my changes and added instructions on how to test it for reviewers.

@duburcqa duburcqa changed the title [BUG FIX] Fix set_gravity [BUG FIX] Fix gravity setters. Aug 5, 2025
@duburcqa duburcqa enabled auto-merge (squash) August 5, 2025 01:08
@duburcqa duburcqa merged commit d88faa9 into Genesis-Embodied-AI:main Aug 5, 2025
17 checks passed
@Milotrince Milotrince deleted the fix_set_gravity branch August 5, 2025 03:45
YilingQiao pushed a commit to YilingQiao/Genesis that referenced this pull request Aug 22, 2025
winnieyangwannan pushed a commit to winnieyangwannan/Genesis that referenced this pull request Sep 14, 2025
Kashu7100 pushed a commit to Kashu7100/Genesis that referenced this pull request Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants