Replies: 11 comments
-
You can use the RigidContactView from Isaac Sim for this: https://docs.omniverse.nvidia.com/isaacsim/latest/ext_omni_isaac_core.html#create-rigidcontactview |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the tip! 2023-07-20 19:47:29 [19,072ms] [Warning] [omni.hydra.scene_delegate.plugin] InstanceAdapter - cannot find cache item for proto /World/envs/env_0/Cylinder/collisions.proto_collisions_id0 The Franka Robot then glitches into the table. If I use more than one environment self.cylinder.initialize(self.env_ns + "/.*/Cylinder", track_contact_forces=True, prepare_contact_sensors=True) raises the exception "Failed to set rigid body transforms in backend" Both faults only appear when track_contact_forces is true, while everything else remains unchanged. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to get a repro for this? Maybe it is something to do with the tuning of collision offsets. |
Beta Was this translation helpful? Give feedback.
-
The errors I am getting are the same as in this post . You can find the code for the environment in which the errors appear here. |
Beta Was this translation helpful? Give feedback.
-
I am facing the same problem, Have you figure out how to solve the problem? |
Beta Was this translation helpful? Give feedback.
-
I figured it out. I applied the ContactReporter in the function initialize_views, but I think that it creates a prim or something. Orbit seems to have some trouble adding them anywhere other than design_scene. As soon as I added it in design_scene, it worked. |
Beta Was this translation helpful? Give feedback.
-
Could you share the gist, I would appreciate. Do you mean add
But the errors are still. Could you tell me how to add it into design_scene? I'm not quite sure yet. Whats more, I want to check the contact force between the legged robots' feet and the ground |
Beta Was this translation helpful? Give feedback.
-
But I only get zero tensor when i use the get_net_contact_forces() |
Beta Was this translation helpful? Give feedback.
-
In init() subscribe to physics contact report event, this callback issued after each simulation step
def _design_scene(self):
I did not end up using RigidPrimView, but the ContactReporter as in the example here. I hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! My problem is solved by the method proposed in issue110, finally. |
Beta Was this translation helpful? Give feedback.
-
Hello, is there any API that reports which object is in collision with the robot? The RigidContactView seems only returns the contact force vector of the links without the object information, e.g. I want to check whether the specified cube is in collsion with the robot, rather than something else. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am searching for a function to check for collision between the Franka Robot and a Rigid Object. More concretely, a function that tells the Environment when a collision has occurred. I could not find any such function under omni.isaac.robot or omni.isaac.objects.rigid.
Am I looking in the wrong place or missing something, or does something like this not exist?
Best regards.
Beta Was this translation helpful? Give feedback.
All reactions