Simulating a switch or button in Isaac Sim

Isaac Sim Version

4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: RTX3070Ti
  • Driver Version: 575.57.08

Topic Description

Detailed Description

I am trying to simulate a switch to open a door.
Would be great if a detailed guide is provided.

Screenshots or Videos

After Physics Scene added, theres been a change but it still doesnt work

Additional Information

What I’ve Tried

Fixed Joint between wall and switch body
Revolute Joint between the switch body, and the switch itself
Revolute Joint between the switch and the wall
Adjusted stiffness and damping values
Added/Removed articulation root to wall and switch body

I have figured out that its related to this problem Robot gets sucked into a collider upon contact. Setting Convex Hull introduces this problem

Hi @MrOCW, thanks for posting your issue. Could you share the files necessary to reproduce this? Thanks!

When using code to create a fixed joint between wall1 and the switch body, say at local pos 0,0,0, upon pressing PLAY, the joint spawns/flies off elsewhere

On my end, it seems like the geometry of the switch in the usd file prevents it from properly rotating with colliders enabled as it either collides with the housing or the wall behind. Toward the end of simulating a switch to open a door, would a contact sensor work for your use case? If you need the switch to physically move, as I believe this might require a differently designed usd.