Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdf2usd: all revolute joints have an angular drive that prevents joint motion by default #33

Open
scpeters opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@scpeters
Copy link
Member

scpeters commented Oct 2, 2024

Environment

  • OS Version: macOS 14.7 (Sonoma)
  • Source or binary build? source build of main branch (178e136) with Gazebo Ionic

Description

I used the sdf2usd command to convert the
mimic_fast_slow_pendulums_world.sdf
gz-sim example world from SDFormat to USD and then simulated it in IsaacSim.

  • Expected behavior: When simulating this world in Gazebo, the pendulums swing when simulation is started. Some of the pendulums are coupled by mimic constraints, though mimic constraints are not the focus of this issue.
  • Actual behavior: When simulating this in Isaac Sim, none of the pendulums move. This is because all the revolute joints have an angular drive that prevents joint motion by default (see src/sdf_parser/Joint.cc:240-254).

Steps to reproduce

  1. Build gz-usd
  2. Download the mimic_fast_slow_pendulums_world.sdf example world into the gz-usd build folder
  3. From the gz-usd build folder, convert to USD with the following command:
./bin/sdf2usd mimic_fast_slow_pendulums_world.sdf mimic_fast_slow_pendulums_world.usda
  1. Load the USD file in Isaac Sim and start the simulation, observing that pendulums do not swing.

Output

Download the generated mimic_fast_slow_pendulums_world.usda file.

@scpeters scpeters added the bug Something isn't working label Oct 2, 2024
@azeey azeey moved this from Inbox to To do in Core development Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

1 participant