Add the pedestal-free xiaozhao URDF, mesh assets, and separate MuJoCo robot, environment, and position-actuator XML files. Align joint frames, rotation directions, inertial transforms, and limits with the calibrated URDF, including the mirrored right hand, and retain the original SolidWorks URDF export. Add a model-selectable CSV limit updater with unit conversion, validation, dry-run support, and rollback on write failures. Synchronize the calibration CSV, document the workflow, add regression tests, and ignore export logs. Validation: 14 joint-limit tests passed; all joint and actuator ranges agree with the URDF. Kinematics and inertial checks passed, along with a 3000-step MuJoCo 3.3.7 simulation and desktop scene loading.
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<mujoco model="xiaozhao_environment">
|
|
<!-- Background, floor material and lighting match ../../xiaoyan_description/dual_arm.xml. -->
|
|
<visual>
|
|
<global offwidth="640" offheight="480"/>
|
|
<map znear="0.02" zfar="5"/>
|
|
</visual>
|
|
|
|
<asset>
|
|
<texture name="skybox" type="skybox" builtin="gradient"
|
|
rgb1="0.4 0.6 0.8" rgb2="0 0 0" width="512" height="512"/>
|
|
<texture name="grid" type="2d" builtin="checker"
|
|
width="512" height="512"
|
|
rgb1="0.2 0.3 0.4" rgb2="0.1 0.2 0.3"
|
|
mark="cross" markrgb="0.8 0.8 0.8"/>
|
|
<material name="grid_floor" texture="grid" texrepeat="5 5"
|
|
rgba="1 1 1.0 1" emission="0.9" specular="0.5"
|
|
shininess="1" reflectance="0.3"/>
|
|
</asset>
|
|
|
|
<worldbody>
|
|
<light name="top_light" mode="track" directional="true"
|
|
diffuse="0.4 0.4 0.4" specular="0.3 0.3 0.3"
|
|
pos="0 0 3" dir="0 0 -1"/>
|
|
<!-- The original base mesh extends 0.183 m below base_link. -->
|
|
<geom name="floor" type="plane" pos="0 0 -0.183" size="0 0 0.05"
|
|
material="grid_floor" condim="3" friction="1 0.005 0.0001"/>
|
|
</worldbody>
|
|
</mujoco>
|