Repository navigation
Upgraded xArm 5/6/7 link inertials to the official UJ_BR_2403 parameters, unified xArm meshes on xarm6 with the production version A base, fixed Bio Gripper G2's flange mount and 11-hull collision geometry, refined Bio Gripper G2 and Gripper G2 visual meshes and materials (including frosted anodized aluminum and translucent inner silicone finger pads), and aligned all standalone gripper display poses flange-up. See CHANGELOG.md.
Install
pip install ufactory_mujoco-0.1.9-py3-none-any.whl # attached below; Python 3.12–3.14
ufactory-mujoco pick-place --robot xarm6 # opens the viewer; add --headless without a display
python -c "import ufactory_mujoco; print(ufactory_mujoco.__version__)"The wheel is a 95.8 MiB download (513.2 MiB of bundled models, meshes, task configs and licenses once installed) and requires MuJoCo >=4,<5.
Changed
- xArm 5/6/7 link inertials (
UJ_BR_2403): updatedlink1..linkNmasses, COM offsets and full inertia tensors inufactory_mujoco/models/{xarm5,xarm6,xarm7}/{xarm5,xarm6,xarm7}.xmlfrom pre-1305HT_BR2defaults to the officialxarm_ros2UJ_BR_2403parameters (>= 1305hardware). Offline validation acrossxarm5,xarm6andxarm7reduces staticS1gravity L2 residual mean by 91%–95% (to0.031–0.139 Nm), and real-hardware 20-poseS1validation onxArm 6(XI130505L56A01, firmware v2.8.2) reduces mean L2 torque error by 84.0% (0.603 -> 0.097 Nm). Updated the frozen xArm 6 3 kg payload gravity regression baseline (ufactory_mujoco/tasks/dynamics.py,tests/test_dynamics_validation.py); joint/actuator parameters (armature,damping,frictionloss,forcerange) remain unchanged for separate evaluation. - Unify xArm 5/6/7 meshes on
xarm6(synced fromufactory_genesisd812529):xarm5now shares all visual OBJs and 22 convex collision STLs withxarm6(link3includesxarm6link4placed atJ4 = 0;link4/link5usexarm6link5/link6), andxarm7shareslink_baseand flange (link7←xarm6link6). Removed the duplicatexarm5andxarm7link_base/link7meshes (~129 MB, 38 files;DOUBLE_SIDED_COUNT51 -> 44); kinematics and inertials are unchanged. - Standalone Bio Gripper G2 display orientation (synced from
ufactory_genesisebed948): flippedbio_gripper_g2_base_linkinbio_gripper_g2.xmltopos="0 0 0.17" quat="0 1 0 0"(adapter flange facing+Z, fingers andlink_tcppointing downward at(0.135, 0, 0.115) m) and updatedbio_gripper_g2/scene.xmlstatistic center to0.04 0 0.14;compose._mount()now explicitly resetsquatwhen mounting tools so arm combinations remain unchanged. - Bio Gripper G2 frosted anodized aluminum appearance (aligned with
ufactory_genesis): replaced the sharedsilvermaterial inbio_gripper_g2.xmlwith dedicatedbio_g2_anodized_aluminum(rgba="0.60 0.62 0.64 1",specular="0.72",shininess="0.16",reflectance="0.03",metallic="0.8",roughness="0.64") onbase_silver_vis,left_finger_vis, andright_finger_vis, and enabled soft satin headlight specular (0.35 0.35 0.38) inbio_gripper_g2/scene.xmland composed<arm>_with_bio_gripperscenes. - Standalone Gripper G2 display orientation & 4-material base split (synced from
ufactory_genesis): flippedxarm_gripper_base_linkingripper_g2.xmltopos="0 0 0.23" quat="0 1 0 0"(flange facing+Z, fingers andlink_tcppointing downward at(0, 0, 0.0565) m) and updatedgripper_g2/scene.xmlstatistic center to0 0 0.14/ extent0.25with soft satin headlight specular (0.35 0.35 0.38, propagated to non-F/T*_with_grippercompositions); splitbase.objintobase_white.obj(white),base_silver.obj(g2_anodized_aluminum),base_black.obj(black+Yconnector cover), andbase_anodized_black.obj(g2_anodized_black, bearing cover机械手轴承盖 A1and 4× M3×8 countersunk screws), while keeping mounted arm+G2 kinematics and TCP(0, 0, 0.1735) munchanged. - Standalone Vacuum Gripper, Lite6 Gripper & Lite6 Vacuum Gripper display orientation (aligned with
ufactory_genesis): flipped the standalone root body to flange-up (quat="0 1 0 0") and centeredscene.xmlframing (center="0 0 0.14") invacuum_gripper(pos="0 0 0.20",suction_siteatz = 0.074 m),lite6_gripper(pos="0 0 0.18",link_tcpatz = 0.0964 m), andlite6_vacuum_gripper(pos="0 0 0.17",suction_siteatz = 0.109 m); mounted arm and F/T combinations remain unchanged. - Gripper G2 finger inner silicone pads (synced from
ufactory_genesis): splitleft_finger.obj/right_finger.objinto opaque black finger bodies ({left,right}_finger_black.obj, double-sidedinertia="shell") and single-sided watertight inner grip pads ({left,right}_finger_silicone.obj, bound to translucentg2_siliconergba="0.92 0.92 0.90 0.75"specular="0.45"shininess="0.55"roughness="0.30"), keeping vertex bounds and 85-opening kinematics identical across standalonegripper_g2and all mounted arm/F/T combinations.
Fixed
- Production xArm base and
xarm5flange:xarm6andxarm7link_basevisual OBJs andxarm5link_basecollision hulls now use the production version A base (flat top at150.35 mm, bodyØ95.4 mm) instead of the prototype version B base (152.3–152.6 mm), andxarm5link5uses the centeredxarm6link6flange mesh (fixing the1.0 mmoff-axis visual shift). UpdatedBASE_PLATE_MOUNTforxarm6andxarm7to matchxarm5((-0.00012433, -0.00038722, -0.00001016) m, yaw0.000002356 rad). - Bio Gripper G2 flange mount and collision hulls (synced from
ufactory_genesisd812529): replaced the four per-armBIO_GRIPPER_MOUNToffsets with the single yaw-only xArm-flange mount((0.022642, 0.000814, 0.002516) m, yaw -0.00628537 rad)acrossxarm5/xarm6/xarm7/uf850, moving the flange-frame TCP from(159.7–162.0, -1.9–0, 54.2–55.0) mmto(157.6, 0.0, 57.5) mm; rebuilt all 11 convex collision STLs (1 base + 5 per finger) from the G2 visuals (bio_gripper_g2.xmlandtests/fixtures/bio_gripper_g2_movable_visual.urdf). - Bio Gripper G2 adapter plate visual mesh (synced from
ufactory_genesisebed948): updatedbio_gripper_g2_base_silver.objfrombio_gripper_g2_base.glb(105,457 vertices / 183,837 faces, doubled withinertia="shell"), removing the two protruding M6 mounting screw tips at 135°/-135°, restoring analytic curved surfaces and normals on the outer rim, lugs, fillets, center bore, M6/lug countersinks, and stepped locating-pin hole, and trimming face slivers at hole rims. - Gripper G2 flange outer circle, centering boss, and slotted locating pin (synced from
ufactory_genesis): rebuiltbase_silver.objandbase_black.objfrom the updated 4-primitivebase.glbwith analytic circular surfaces and normals across theØ75.0 mmflange rim,Ø31.5 mmcentering boss,R = 3.00 mmpin hole,+Ycover fillets, and the watertight dome-tipped slotted locating pin at(0, -25) mm(r = 2.98 mm,z = -4.50..2.00 mm,-7.04°1.00 × 2.00 mmslot).
Verified
- Local 3-environment sequential acceptance (
py312,py313,py314):ruff check .,git diff --check(excluding OBJ),39static XML +46composed model compilation (0errors,0warnings across all 3 envs), fullpytest tests(py312:541 passed, 875 subtests passed;py313:541 passed, 875 subtests passedincluding Pinocchio checks;py314:536 passed, 5 skipped, 875 subtests passed), CI headless example smoke suite (SMOKE PASSacross all 3 envs),30golden task reports per env (30/30byte-identical acrosspy312/py313/py314; all30reports passing;11/11taskconfig_sha256hashes and all12lite6/uf850reports +6xarm5/xarm6/xarm7dry-run reports byte-identical to0.1.8, with expected numeric updates on12xarm5/xarm6/xarm7physics simulation reports fromUJ_BR_2403inertials and unifiedxarm5collision meshes),twine check --strict, distribution verification (39static models,46composed models,455meshes,2configs /11task presets,7licenses), and isolated wheel acceptance (52commandsPASSacross all 3 envs). - GitHub Actions CI run #45381692287: all 8 jobs passed (
lint,build,testandinstalledacross Python3.12,3.13,3.14with MuJoCo 4).
SHA-256
9731726e584b07a3cb919411294ed88b0db7527c995a08242f250c1fddcf3369 ufactory_mujoco-0.1.9-py3-none-any.whl
1e218fb2295a380f7b99c78ad8977a090d7c21db9320371ae43d4783703de886 ufactory_mujoco-0.1.9.tar.gz