dm_control icon indicating copy to clipboard operation
dm_control copied to clipboard

How to get all physics.named.data objects

Open a-kest opened this issue 2 years ago • 1 comments

Hello, I am trying to test if two geoms are in contact. I was thinking of something like physics.named.data."contact" but that is not available. Is there maybe any method of checking that.

The overarching question is: What physics.named.data.(...) objects are available. This would hopefully help for my current problem and for all future ones too. Is there any way to print all (...) if they are dynamic based on the model loaded?

a-kest avatar Aug 26 '23 16:08 a-kest

Update for future readers:

I got the contact checking by adding two touch sensors on both surfaces that should touch and check if their both have a collision registered.

a-kest avatar Aug 27 '23 08:08 a-kest