Unable to get correct force data form contact sensor #2319
Replies: 6 comments
-
For more accurate situation explain, I post the picture of the simulation. |
Beta Was this translation helpful? Give feedback.
-
In the second option did you uncomment the |
Beta Was this translation helpful? Give feedback.
-
Hi, @jtigue-bdai Thank you for the reply! OPTION 2 OPTION 1 |
Beta Was this translation helpful? Give feedback.
-
Following up on this. Is the contact sensor you are using the Isaac Sim sensor or the PhysX sensor? Something is definitely off. |
Beta Was this translation helpful? Give feedback.
-
These are IsaacLab sensors. So they utilize the omni.phyiscs.tensors RigidContactView to access net_forces_w/force_matrix_w |
Beta Was this translation helpful? Give feedback.
-
Following up, I'll move this to our Discussions section. Let us know if you need further help. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to use contact sensor for the weight measure of water particels (this is the final purpose), and for the basic step, I'm checking if the contact sensor works well.
I wrote my code like right below.
I checked if the contact sensor works well by two options.
First option was just placing one cube which weights 100kg. As a result, I could confirm it is right working cause on the z axis, the force was 100 * 9.81 = 981N
But the problem was the second option. I put the 50kg-weighted-cube on the first cube, and checked the force data. And the result was 1.1281e+02 and it is actually much smaller than 981N and weird result.. I don't know why it happens like this and I want to know why, and the way to correct this situation.
Beta Was this translation helpful? Give feedback.
All reactions