Files
Lumi/sim/sorting/sorting.xml
T
2026-11-25 18:24:29 +09:00

177 lines
16 KiB
XML

<mujoco model="lumi_sorting">
<!-- generated by sim/sorting/build.py: edit that file, not this one -->
<compiler angle="radian" autolimits="true"/>
<option timestep="0.002" integrator="implicitfast" cone="elliptic" impratio="10"/>
<visual><global offwidth="1280" offheight="960"/><quality shadowsize="4096"/></visual>
<asset>
<mesh name="mc_a1" file="assets/minicobo/link_a1.stl"/>
<mesh name="mc_a2" file="assets/minicobo/link_a2.stl"/>
<mesh name="mc_a3" file="assets/minicobo/link_a3.stl"/>
<mesh name="mc_a4" file="assets/minicobo/link_a4.stl"/>
<mesh name="mc_a5" file="assets/minicobo/link_a5.stl"/>
<mesh name="mc_a6" file="assets/minicobo/link_a6.stl"/>
<mesh name="base_link" file="../lumi_description/meshes/base_link.STL"/>
<mesh name="link_1" file="../lumi_description/meshes/link_1.STL"/>
<mesh name="link_2" file="../lumi_description/meshes/link_2.STL"/>
<mesh name="link_3" file="../lumi_description/meshes/link_3.STL"/>
<mesh name="link_4" file="../lumi_description/meshes/link_4.STL"/>
<mesh name="wheel_l" file="../lumi_description/meshes/wheel_l.STL"/>
<mesh name="wheel_r" file="../lumi_description/meshes/wheel_r.STL"/>
<texture name="grid" type="2d" builtin="checker" rgb1="0.82 0.82 0.80" rgb2="0.76 0.76 0.74" width="512" height="512"/>
<material name="floor" texture="grid" texrepeat="8 8"/>
<material name="white" rgba="0.92 0.93 0.94 1"/>
<material name="black" rgba="0.08 0.08 0.09 1"/>
<material name="alu" rgba="0.75 0.76 0.78 1"/>
<material name="zimmer" rgba="0.10 0.10 0.11 1"/>
<material name="steel" rgba="0.70 0.70 0.72 1"/>
<material name="finger" rgba="0.12 0.12 0.13 1"/>
<material name="pad" rgba="0.05 0.05 0.05 1"/>
<material name="table" rgba="0.55 0.56 0.58 1"/>
<material name="tray" rgba="0.36 0.22 0.15 1"/>
<material name="box" rgba="0.94 0.94 0.92 1"/>
</asset>
<default>
<default class="visual"><geom type="mesh" contype="0" conaffinity="0" group="2" density="0"/></default>
<default class="body_col"><geom group="3" density="0" contype="0" conaffinity="0" rgba="0.9 0.4 0.4 0.3"/></default>
<default class="grip"><geom group="1" density="0" friction="0.8 0.01 0.001"/></default>
<default class="pad"><geom group="1" density="0" friction="1.6 0.02 0.002" condim="4" solref="0.004 1" priority="1"/></default>
<default class="arm_big"><position kp="1500" dampratio="1" forcerange="-60 60"/></default>
<default class="arm_small"><position kp="400" dampratio="1" forcerange="-20 20"/></default>
</default>
<worldbody>
<light pos="0 0.5 1.6" dir="0 0 -1" diffuse="0.8 0.8 0.8" castshadow="true"/>
<light pos="-1 -1 1.2" dir="1 1 -1" diffuse="0.35 0.35 0.35"/>
<geom name="floor" type="plane" pos="0 0 -0.976" size="3 3 0.05" material="floor"/>
<camera name="torso_cam" pos="-0.257663 0.013721 -0.041359" xyaxes="0.999523 -0.02739 -0.014242 0.014152 -0.003442 0.999894" fovy="61.23"/>
<camera name="overview" pos="0.55 1.35 0.25" xyaxes="-0.92 0.39 0 -0.15 -0.36 0.92" fovy="50"/>
<camera name="top" pos="-0.10 0.58 0.55" xyaxes="1 0 0 0 1 0" fovy="70"/>
<body name="torso" pos="-0.07587 -0.019453 -0.053978" quat="-0.04149432 -0.00522993 0.05028068 0.99785907">
<geom class="visual" mesh="base_link" pos="0 0 -0.6395" quat="1 0 0 0" material="white"/>
<geom class="visual" mesh="wheel_l" pos="0.1793 0.050006 -0.8466" quat="0.70710528 0 0.70710828 0" material="black"/>
<geom class="visual" mesh="wheel_r" pos="-0.1793 0.050006 -0.8466" quat="0.70710528 0 0.70710828 0" material="black"/>
<geom class="visual" mesh="link_1" pos="0 0 -0.0745" quat="1 0 0 0" material="white"/>
<geom class="visual" mesh="link_2" pos="0 0 0" quat="1 0 0 0" material="white"/>
<geom class="visual" mesh="link_3" pos="0 0 0.3465" quat="1 0 0 0" material="white"/>
<geom class="visual" mesh="link_4" pos="0 0 0.3985" quat="0.70710528 0 0.70710828 0" material="white"/>
</body>
<body name="arm_base" pos="0.026758 -0.003892 0.01532" quat="-0.04149432 -0.00522993 0.05028068 0.99785907">
<body name="a1" pos="-0.001848 -0.005251 -0.014875" quat="-0.01381091 0.71078668 -0.04463026 -0.70185446" gravcomp="1">
<inertial pos="0 0 0.05" mass="1.35" diaginertia="0.005 0.005 0.002"/>
<joint name="j1" axis="0 0 1" range="-6.2832 6.2832" armature="0.1" damping="2"/>
<geom class="visual" mesh="mc_a1" pos="-0.000033 0.000029 0.002014" quat="0.99959308 0.00000854 -0.00000618 0.02852481" material="white"/>
<geom group="3" type="mesh" mesh="mc_a1" pos="-0.000033 0.000029 0.002014" quat="0.99959308 0.00000854 -0.00000618 0.02852481" density="0" rgba="0.4 0.6 0.9 0.3"/>
<body name="a2" pos="0.000936 -0.016309 0.157742" quat="0.49074482 0.5192832 -0.48016443 0.50887779" gravcomp="1">
<inertial pos="0 0 0.05" mass="1.6" diaginertia="0.005 0.005 0.002"/>
<joint name="j2" axis="0 0 1" range="-2.1817 2.1817" armature="0.1" damping="2"/>
<geom class="visual" mesh="mc_a2" pos="-0.000023 0.000063 0.000136" quat="0.9999449 -0.00001067 -0.00001509 0.01049754" material="white"/>
<geom group="3" type="mesh" mesh="mc_a2" pos="-0.000023 0.000063 0.000136" quat="0.9999449 -0.00001067 -0.00001509 0.01049754" density="0" rgba="0.4 0.6 0.9 0.3"/>
<body name="a3" pos="0.210093 0.004434 -0.028992" quat="0.99996026 -0.00008366 -0.00008218 0.00891384" gravcomp="1">
<inertial pos="0 0 0.05" mass="1.1" diaginertia="0.005 0.005 0.002"/>
<joint name="j3" axis="0 0 1" range="-2.2689 2.2689" armature="0.1" damping="2"/>
<geom class="visual" mesh="mc_a3" pos="0.000004 0.000013 0.000134" quat="0.99999874 0.00000694 -0.00005173 0.00158378" material="white"/>
<geom group="3" type="mesh" mesh="mc_a3" pos="0.000004 0.000013 0.000134" quat="0.99999874 0.00000694 -0.00005173 0.00158378" density="0" rgba="0.4 0.6 0.9 0.3"/>
<body name="a4" pos="0.130266 0.000411 0.01872" quat="0.51261234 -0.48870624 0.51103774 -0.487068" gravcomp="1">
<inertial pos="0 0 0.05" mass="0.7" diaginertia="0.005 0.005 0.002"/>
<joint name="j4" axis="0 0 1" range="-6.2832 6.2832" armature="0.1" damping="2"/>
<geom class="visual" mesh="mc_a4" pos="-0.000017 -0.000068 0.000035" quat="0.99971361 -0.000014 0.00000635 -0.02393109" material="white"/>
<geom group="3" type="mesh" mesh="mc_a4" pos="-0.000017 -0.000068 0.000035" quat="0.99971361 -0.000014 0.00000635 -0.02393109" density="0" rgba="0.4 0.6 0.9 0.3"/>
<body name="a5" pos="-0.000003 -0.000391 0.080388" quat="0.4886088 0.51256118 0.48711594 -0.51113651" gravcomp="1">
<inertial pos="0 0 0.05" mass="0.7" diaginertia="0.005 0.005 0.002"/>
<joint name="j5" axis="0 0 1" range="-2.0944 2.0944" armature="0.1" damping="2"/>
<geom class="visual" mesh="mc_a5" pos="-0.000069 0.000024 -0.019024" quat="0.99999893 -0.00000985 0.00002439 -0.00146518" material="white"/>
<geom group="3" type="mesh" mesh="mc_a5" pos="-0.000069 0.000024 -0.019024" quat="0.99999893 -0.00000985 0.00002439 -0.00146518" density="0" rgba="0.4 0.6 0.9 0.3"/>
<body name="a6" pos="-0.159701 0.000466 -0.000389" quat="0.50073768 -0.50074234 -0.49926291 0.49925488" gravcomp="1">
<inertial pos="0 0 0.05" mass="0.3" diaginertia="0.005 0.005 0.002"/>
<joint name="j6" axis="0 0 1" range="-6.2832 6.2832" armature="0.1" damping="2"/>
<geom class="visual" mesh="mc_a6" pos="0.000133 -0.00008 -0.036333" quat="-0.00001158 -0.00001047 0.00004229 1" material="white"/>
<geom group="3" type="mesh" mesh="mc_a6" pos="0.000133 -0.00008 -0.036333" quat="-0.00001158 -0.00001047 0.00004229 1" density="0" rgba="0.4 0.6 0.9 0.3"/>
<site name="flange" size="0.005" group="4"/>
<body name="gripper" quat="0.92945488 0 0 -0.3689358">
<inertial pos="0.0180 0 0.0350" mass="0.6" diaginertia="0.0012 0.0012 0.0008"/>
<geom class="grip" type="box" pos="0.0180 0.0000 0.0040" size="0.0500 0.0360 0.0040" material="alu"/>
<geom class="grip" type="box" pos="0.0180 0.0000 0.0390" size="0.0500 0.0320 0.0310" material="zimmer"/>
<site name="tcp" pos="0.1305 0 0.155" size="0.004" rgba="0 1 0 1" group="4"/>
<body name="jaw_l">
<inertial pos="0.131 0.020 0.09" mass="0.100" diaginertia="2e-4 2e-4 1e-4"/>
<joint name="jaw_l" type="slide" axis="0 1 0" range="0 0.013" damping="20" armature="0.05"/>
<geom class="grip" type="box" pos="0.0830 0.0089 0.0400" size="0.0150 0.0087 0.0250" material="steel"/>
<geom class="grip" type="box" pos="0.0955 0.0227 0.0325" size="0.0275 0.0023 0.0325" material="finger"/>
<geom name="arm_l" class="grip" type="box" pos="0.1305 0.0227 0.0900" size="0.0075 0.0023 0.0900" material="finger"/>
<geom name="pad_l" class="pad" type="box" pos="0.1305 0.0190 0.1550" size="0.0075 0.0015 0.0250" material="pad"/>
</body>
<body name="jaw_r">
<inertial pos="0.131 -0.020 0.09" mass="0.100" diaginertia="2e-4 2e-4 1e-4"/>
<joint name="jaw_r" type="slide" axis="0 -1 0" range="0 0.013" damping="20" armature="0.05"/>
<geom class="grip" type="box" pos="0.0830 -0.0089 0.0400" size="0.0150 0.0087 0.0250" material="steel"/>
<geom class="grip" type="box" pos="0.0955 -0.0227 0.0325" size="0.0275 0.0023 0.0325" material="finger"/>
<geom name="arm_r" class="grip" type="box" pos="0.1305 -0.0227 0.0900" size="0.0075 0.0023 0.0900" material="finger"/>
<geom name="pad_r" class="pad" type="box" pos="0.1305 -0.0190 0.1550" size="0.0075 0.0015 0.0250" material="pad"/>
</body>
</body>
</body>
</body>
</body>
</body>
</body>
</body>
</body>
<geom name="table" type="box" pos="0.150 0.600 -0.3430" size="0.60 0.35 0.015" material="table"/>
<geom type="box" pos="-0.400 0.300 -0.6670" size="0.02 0.02 0.3090" material="table" contype="0" conaffinity="0"/>
<geom type="box" pos="-0.400 0.900 -0.6670" size="0.02 0.02 0.3090" material="table" contype="0" conaffinity="0"/>
<geom type="box" pos="0.700 0.300 -0.6670" size="0.02 0.02 0.3090" material="table" contype="0" conaffinity="0"/>
<geom type="box" pos="0.700 0.900 -0.6670" size="0.02 0.02 0.3090" material="table" contype="0" conaffinity="0"/>
<geom name="tray_floor" type="box" pos="0.15 0.55 -0.326" size="0.14 0.095 0.002" rgba="0.36 0.22 0.15 1" />
<geom name="tray_wall_x0" type="box" pos="0.0125 0.55 -0.3155" size="0.0025 0.095 0.0105" rgba="0.36 0.22 0.15 1" />
<geom name="tray_wall_x1" type="box" pos="0.2875 0.55 -0.3155" size="0.0025 0.095 0.0105" rgba="0.36 0.22 0.15 1" />
<geom name="tray_wall_y0" type="box" pos="0.15 0.4575 -0.3155" size="0.14 0.0025 0.0105" rgba="0.36 0.22 0.15 1" />
<geom name="tray_wall_y1" type="box" pos="0.15 0.6425 -0.3155" size="0.14 0.0025 0.0105" rgba="0.36 0.22 0.15 1" />
<geom name="box_red_floor" type="box" pos="-0.13 0.55 -0.3265" size="0.09 0.13 0.0015" rgba="0.94 0.94 0.92 1" />
<geom name="box_red_wall_x0" type="box" pos="-0.2185 0.55 -0.288" size="0.0015 0.13 0.0385" rgba="0.94 0.94 0.92 1" />
<geom name="box_red_wall_x1" type="box" pos="-0.0415 0.55 -0.288" size="0.0015 0.13 0.0385" rgba="0.94 0.94 0.92 1" />
<geom name="box_red_wall_y0" type="box" pos="-0.13 0.4215 -0.288" size="0.09 0.0015 0.0385" rgba="0.94 0.94 0.92 1" />
<geom name="box_red_wall_y1" type="box" pos="-0.13 0.6785 -0.288" size="0.09 0.0015 0.0385" rgba="0.94 0.94 0.92 1" />
<geom name="label_red" type="box" pos="-0.1300 0.4190 -0.2800" size="0.04 0.0008 0.015" rgba="0.86 0.12 0.12 1" contype="0" conaffinity="0"/>
<geom name="box_yellow_floor" type="box" pos="0.43 0.55 -0.3265" size="0.09 0.13 0.0015" rgba="0.94 0.94 0.92 1" />
<geom name="box_yellow_wall_x0" type="box" pos="0.3415 0.55 -0.288" size="0.0015 0.13 0.0385" rgba="0.94 0.94 0.92 1" />
<geom name="box_yellow_wall_x1" type="box" pos="0.5185 0.55 -0.288" size="0.0015 0.13 0.0385" rgba="0.94 0.94 0.92 1" />
<geom name="box_yellow_wall_y0" type="box" pos="0.43 0.4215 -0.288" size="0.09 0.0015 0.0385" rgba="0.94 0.94 0.92 1" />
<geom name="box_yellow_wall_y1" type="box" pos="0.43 0.6785 -0.288" size="0.09 0.0015 0.0385" rgba="0.94 0.94 0.92 1" />
<geom name="label_yellow" type="box" pos="0.4300 0.4190 -0.2800" size="0.04 0.0008 0.015" rgba="0.97 0.80 0.10 1" contype="0" conaffinity="0"/>
<body name="ball_0" pos="0.0600 0.5125 -0.3018">
<freejoint/>
<geom name="ball_0" type="sphere" size="0.02125" mass="0.008" rgba="0.86 0.12 0.12 1" friction="1.0 0.01 0.001" condim="4" solref="0.006 1"/>
</body>
<body name="ball_1" pos="0.1500 0.5125 -0.3018">
<freejoint/>
<geom name="ball_1" type="sphere" size="0.02125" mass="0.008" rgba="0.97 0.80 0.10 1" friction="1.0 0.01 0.001" condim="4" solref="0.006 1"/>
</body>
<body name="ball_2" pos="0.2400 0.5125 -0.3018">
<freejoint/>
<geom name="ball_2" type="sphere" size="0.02125" mass="0.008" rgba="0.86 0.12 0.12 1" friction="1.0 0.01 0.001" condim="4" solref="0.006 1"/>
</body>
<body name="ball_3" pos="0.0600 0.5875 -0.3018">
<freejoint/>
<geom name="ball_3" type="sphere" size="0.02125" mass="0.008" rgba="0.97 0.80 0.10 1" friction="1.0 0.01 0.001" condim="4" solref="0.006 1"/>
</body>
<body name="ball_4" pos="0.1500 0.5875 -0.3018">
<freejoint/>
<geom name="ball_4" type="sphere" size="0.02125" mass="0.008" rgba="0.86 0.12 0.12 1" friction="1.0 0.01 0.001" condim="4" solref="0.006 1"/>
</body>
<body name="ball_5" pos="0.2400 0.5875 -0.3018">
<freejoint/>
<geom name="ball_5" type="sphere" size="0.02125" mass="0.008" rgba="0.97 0.80 0.10 1" friction="1.0 0.01 0.001" condim="4" solref="0.006 1"/>
</body>
</worldbody>
<equality><joint joint1="jaw_r" joint2="jaw_l" polycoef="0 1 0 0 0"/></equality>
<contact><exclude body1="a1" body2="a2"/><exclude body1="a1" body2="a3"/><exclude body1="a1" body2="a4"/><exclude body1="a1" body2="a5"/><exclude body1="a1" body2="a6"/><exclude body1="a1" body2="gripper"/><exclude body1="a1" body2="jaw_l"/><exclude body1="a1" body2="jaw_r"/><exclude body1="a2" body2="a3"/><exclude body1="a2" body2="a4"/><exclude body1="a2" body2="a5"/><exclude body1="a2" body2="a6"/><exclude body1="a2" body2="gripper"/><exclude body1="a2" body2="jaw_l"/><exclude body1="a2" body2="jaw_r"/><exclude body1="a3" body2="a4"/><exclude body1="a3" body2="a5"/><exclude body1="a3" body2="a6"/><exclude body1="a3" body2="gripper"/><exclude body1="a3" body2="jaw_l"/><exclude body1="a3" body2="jaw_r"/><exclude body1="a4" body2="a5"/><exclude body1="a4" body2="a6"/><exclude body1="a4" body2="gripper"/><exclude body1="a4" body2="jaw_l"/><exclude body1="a4" body2="jaw_r"/><exclude body1="a5" body2="a6"/><exclude body1="a5" body2="gripper"/><exclude body1="a5" body2="jaw_l"/><exclude body1="a5" body2="jaw_r"/><exclude body1="a6" body2="gripper"/><exclude body1="a6" body2="jaw_l"/><exclude body1="a6" body2="jaw_r"/><exclude body1="gripper" body2="jaw_l"/><exclude body1="gripper" body2="jaw_r"/><exclude body1="jaw_l" body2="jaw_r"/></contact>
<actuator>
<position name="j1" class="arm_big" joint="j1" ctrlrange="-6.2832 6.2832"/>
<position name="j2" class="arm_big" joint="j2" ctrlrange="-2.1817 2.1817"/>
<position name="j3" class="arm_big" joint="j3" ctrlrange="-2.2689 2.2689"/>
<position name="j4" class="arm_small" joint="j4" ctrlrange="-6.2832 6.2832"/>
<position name="j5" class="arm_small" joint="j5" ctrlrange="-2.0944 2.0944"/>
<position name="j6" class="arm_small" joint="j6" ctrlrange="-6.2832 6.2832"/>
<position name="gripper" joint="jaw_l" kp="4000" dampratio="1" forcerange="-90.0 90.0" ctrlrange="0 0.013"/>
</actuator>
</mujoco>