Repository navigation
Help with Mujoco Sensors #3215
Replies: 1 comment
|
The For grip force, measure the contacts directly. Both sensors below need nothing on the object: <body name="finger_tip">
<geom name="tip_geom" .../>
<site name="tip_pad" type="box" size="..."/> <!-- covers the pad area of tip_geom -->
</body>
...
<sensor>
<!-- sum of normal contact forces inside the site volume, on geoms of the site's body -->
<touch name="tip_touch" site="tip_pad"/>
<!-- net contact wrench between this fingertip and anything (global frame) -->
<contact name="tip_contact" geom1="tip_geom" data="found force" reduce="netforce"/>
</sensor>Read them with About soft vs. hard objects: don't expect a large difference in the steady force. In a quasi-static grip, the contact force balances the actuator. With a So, to see a difference between objects, compare penetration/finger position at a given actuator command, or the force-vs-time rise. Comparing only the final force will not show it. To check: plot |
Uh oh!
There was an error while loading. Please reload this page.
Intro
Hi!
I am a researcher at the University of Utah, I use MuJoCo to model a robotic hand.
My setup
Mujoco witha python script
My question
I’m trying to measure how much force or grip strength my robotic hand applies to an object, but I want to avoid putting sensors on the object itself. My setup uses sensors mounted on the fingers, and I wrote a Python script that moves the hand around an object while plotting the sensor readings.
The issue is that the force graph looks almost identical every time, no matter what object I use. The reading rises as the finger moves, then the moment the finger touches the object, the “force” value drops sharply, levels out, and then continues to decline. Here’s an example of the graph I get:
What I expected was a clear difference between gripping soft vs. hard objects, but the readings don’t seem to reflect actual contact force at all.
Am I using force sensor correctly or am I just measuring actuator load instead of fingertip force?
Minimal model and/or code that explain my question
If you encountered the issue in a complex model, please simplify it as much as possible (while still reproducing the issue).
Model:
minimal XML
Code:
Confirmations
All reactions