-
Notifications
You must be signed in to change notification settings - Fork 916
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
[Question] Checking Collision between Object and Franka Robot #97
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 |
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. |
Is it possible to get a repro for this? Maybe it is something to do with the tuning of collision offsets. |
I am facing the same problem, Have you figure out how to solve the problem? |
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. |
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 |
But I only get zero tensor when i use the get_net_contact_forces() |
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. |
Thanks for your reply! My problem is solved by the method proposed in issue110, finally. |
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. |
…notators (isaac-sim#97) This change updates the current tiled rendering APIs to use the full RTX tiled rendering feature, allowing for higher quality RGB renders and support of additional annotators, including semantic segmentation, instance segmentation, normals, and motion vectors. This change also aligns output dimensions across TiledCamera, Camera, and RayCasterCamera classes. All single-channel outputs will now have dimension (H, W, C). Camera class now outputs RGB data with shape (H, W, 3). <!-- As you go through the list, delete the ones that are not applicable. --> - New feature (non-breaking change which adds functionality) - Breaking change (fix or feature that would cause existing functionality to not work as expected) - This change requires a documentation update Fixes issue isaac-sim#775 - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> --------- Co-authored-by: Alexander <[email protected]> Co-authored-by: Toni-SM <[email protected]>
…notators (#97) This change updates the current tiled rendering APIs to use the full RTX tiled rendering feature, allowing for higher quality RGB renders and support of additional annotators, including semantic segmentation, instance segmentation, normals, and motion vectors. This change also aligns output dimensions across TiledCamera, Camera, and RayCasterCamera classes. All single-channel outputs will now have dimension (H, W, C). Camera class now outputs RGB data with shape (H, W, 3). <!-- As you go through the list, delete the ones that are not applicable. --> - New feature (non-breaking change which adds functionality) - Breaking change (fix or feature that would cause existing functionality to not work as expected) - This change requires a documentation update Fixes issue #775 - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> --------- Co-authored-by: Alexander <[email protected]> Co-authored-by: Toni-SM <[email protected]>
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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.
The text was updated successfully, but these errors were encountered: