IsaacGymEnvs icon indicating copy to clipboard operation
IsaacGymEnvs copied to clipboard

Is there any variable/method for detecting collision in Isaac Gym?

Open zjwzcx opened this issue 1 year ago • 2 comments

Hi, thanks for your awesome work!

I create a dynamic robot and some static obstacles (asset) in my custom Isaac Gym env. How can I get the collision signal when that dynamic robot collides with certain obstacle?

(I tried to use keywords like "collision" and "occupancy" in the doc to retrieve the variable or method I wanted, but failed.)

Look forward to your reply!

zjwzcx avatar Dec 23 '22 12:12 zjwzcx

Have you looked at get_env_rigid_contacts ?

TextZip avatar Feb 03 '23 22:02 TextZip

Hi, is there an equivalent method to get_env_rigid_contacts which conforms to Gym's tensor API? Running get_env_rigid_contacts while using GPU, as expected, returns an error. Thanks in advance

AndrePatri avatar May 22 '23 10:05 AndrePatri