isaac-sim / IsaacLab

Unified framework for robot learning built on NVIDIA Isaac Sim
https://isaac-sim.github.io/IsaacLab
Other
1.96k stars 776 forks source link

[Bug Report] Contact Force readings depending on Collider Type #686

Open choijoshua opened 2 months ago

choijoshua commented 2 months ago

If you are submitting a bug report, please fill in the following details and use the tag [bug].

Describe the bug

I was experimenting with the get_contact_force_matrix() function in RigidPrimView, and I realized that the values that the function is outputting changes based on the collider the asset has on Isaac Sim. When I define the RigidPrimView object, I set the contact_filter_prim_path_expr to be itself, like this. rigidprimview = RigidPrimView(prim_path, reset_xform_properties=False, track_contact_forces=True, contact_filter_prim_paths_expr=[prim_path], masses=mass)

Steps to reproduce

Print the get_contact_force_matrix() output of a rigidprimview object in an environment every timestep, and see how the value changes when the rigid object that the rigidprimview is referencing to has different collider types.

Checklist

Acceptance Criteria

Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.

Mayankm96 commented 2 months ago

This seems wrong. Why would you set the contact filter path to be the prim itself? The filtering happens against a prim w.r.t. other prims in the scene (not the same prim).

rthaker01 commented 2 days ago

Hi @choijoshua - Are you still seeking assistance with this issue?