Skip to content

Commit 6bcd252

Browse files
authored
Merge pull request #671 from PickNikRobotics/fix/inlined-accessories-burner-pushable
Fix: Backport lab_sim burner pushable fix to inlined picknik_accessories
2 parents e911901 + 2be7bdb commit 6bcd252

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

  • src/picknik_accessories/mujoco_assets/lab_desk

src/picknik_accessories/mujoco_assets/lab_desk/desk.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,36 @@
132132
<joint type="free" damping="1" />
133133
</body>
134134
<body name="stirrer" pos="0.605 0.761 0.473827" euler="0 0 0">
135-
<freejoint />
135+
<joint type="free" damping="1" />
136+
<!-- Explicit inertial keeps the burner light enough to be pushed by the gripper.
137+
Without this, MuJoCo auto-infers ~9.7 kg from the 0.2x0.4x0.074 m collision box
138+
at default density 1000 kg/m^3, and static friction (per MAX-rule combine
139+
with the desk's default friction=1.0) pins it under any vertical-dominant
140+
gripper push. priority="1" on the collision geom below makes the burner's
141+
lower friction override the desk's, so the burner can actually slide.
142+
The diaginertia is intentionally non-homogeneous: a real stirrer's mass
143+
is biased toward the base (motor + heavy stand) under a thin top plate,
144+
so xx/yy are symmetric and well below the homogeneous-box values
145+
(~0.0207, ~0.00569, ~0.025 for 1.5 kg, 0.2x0.4x0.074 m). Do not
146+
regenerate these from the collision box extents. -->
147+
<inertial pos="0 0 0.02" mass="1.5" diaginertia="0.008 0.008 0.012" />
136148
<geom
137149
material="stirrer"
138150
mesh="stirrer"
139151
class="visual"
140152
contype="0"
141153
conaffinity="0"
142154
group="2"
155+
mass="0"
143156
/>
144157
<geom
145158
class="collision"
146159
type="box"
147160
pos="0 0 0"
148161
size="0.1 0.2 0.037"
149162
group="4"
163+
friction="0.3 0.005 0.0001"
164+
priority="1"
150165
/>
151166
</body>
152167
<body name="test_tubes_stand" pos="0.3 0.85 0.472476" euler="0 0 0">

0 commit comments

Comments
 (0)