Fix bug in implementation of torquescale

PiperOrigin-RevId: 577466789
Change-Id: I3c8e5dd9b4af9a629e777f7ccad8417075b0046c
This commit is contained in:
Yuval Tassa
2023-10-28 08:24:05 -07:00
committed by Copybara-Service
parent 930c707e00
commit 86d9c84e59
6 changed files with 33 additions and 13 deletions
+15
View File
@@ -0,0 +1,15 @@
<mujoco>
<statistic meansize=".5"/>
<worldbody>
<site name="0"/>
<light pos="0 0 1"/>
<body name="1" pos="-.5 -.3 0">
<freejoint/>
<geom type="box" size=".5 .3 .02" pos="0 0 -.07"/>
</body>
</worldbody>
<equality>
<weld body1="1" anchor="0 0 0" solimp="0 0.96 0.01" torquescale="0.2"/>
</equality>
</mujoco>