Skip to content

v0.1.9 - xArm UJ_BR_2403 Inertials, Unified Meshes, and Bio/G2 Gripper Refinements

Latest

Choose a tag to compare

@DanielWang123321 DanielWang123321 released this 24 Nov 11:27

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): updated link1..linkN masses, COM offsets and full inertia tensors in ufactory_mujoco/models/{xarm5,xarm6,xarm7}/{xarm5,xarm6,xarm7}.xml from pre-1305 HT_BR2 defaults to the official xarm_ros2 UJ_BR_2403 parameters (>= 1305 hardware). Offline validation across xarm5, xarm6 and xarm7 reduces static S1 gravity L2 residual mean by 91%–95% (to 0.031–0.139 Nm), and real-hardware 20-pose S1 validation on xArm 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 from ufactory_genesis d812529): xarm5 now shares all visual OBJs and 22 convex collision STLs with xarm6 (link3 includes xarm6 link4 placed at J4 = 0; link4/link5 use xarm6 link5/link6), and xarm7 shares link_base and flange (link7 ← xarm6 link6). Removed the duplicate xarm5 and xarm7 link_base/link7 meshes (~129 MB, 38 files; DOUBLE_SIDED_COUNT 51 -> 44); kinematics and inertials are unchanged.
  • Standalone Bio Gripper G2 display orientation (synced from ufactory_genesis ebed948): flipped bio_gripper_g2_base_link in bio_gripper_g2.xml to pos="0 0 0.17" quat="0 1 0 0" (adapter flange facing +Z, fingers and link_tcp pointing downward at (0.135, 0, 0.115) m) and updated bio_gripper_g2/scene.xml statistic center to 0.04 0 0.14; compose._mount() now explicitly resets quat when mounting tools so arm combinations remain unchanged.
  • Bio Gripper G2 frosted anodized aluminum appearance (aligned with ufactory_genesis): replaced the shared silver material in bio_gripper_g2.xml with dedicated bio_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") on base_silver_vis, left_finger_vis, and right_finger_vis, and enabled soft satin headlight specular (0.35 0.35 0.38) in bio_gripper_g2/scene.xml and composed <arm>_with_bio_gripper scenes.
  • Standalone Gripper G2 display orientation & 4-material base split (synced from ufactory_genesis): flipped xarm_gripper_base_link in gripper_g2.xml to pos="0 0 0.23" quat="0 1 0 0" (flange facing +Z, fingers and link_tcp pointing downward at (0, 0, 0.0565) m) and updated gripper_g2/scene.xml statistic center to 0 0 0.14 / extent 0.25 with soft satin headlight specular (0.35 0.35 0.38, propagated to non-F/T *_with_gripper compositions); split base.obj into base_white.obj (white), base_silver.obj (g2_anodized_aluminum), base_black.obj (black +Y connector cover), and base_anodized_black.obj (g2_anodized_black, bearing cover 机械手轴承盖 A1 and 4× M3×8 countersunk screws), while keeping mounted arm+G2 kinematics and TCP (0, 0, 0.1735) m unchanged.
  • 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 centered scene.xml framing (center="0 0 0.14") in vacuum_gripper (pos="0 0 0.20", suction_site at z = 0.074 m), lite6_gripper (pos="0 0 0.18", link_tcp at z = 0.0964 m), and lite6_vacuum_gripper (pos="0 0 0.17", suction_site at z = 0.109 m); mounted arm and F/T combinations remain unchanged.
  • Gripper G2 finger inner silicone pads (synced from ufactory_genesis): split left_finger.obj / right_finger.obj into opaque black finger bodies ({left,right}_finger_black.obj, double-sided inertia="shell") and single-sided watertight inner grip pads ({left,right}_finger_silicone.obj, bound to translucent g2_silicone rgba="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 standalone gripper_g2 and all mounted arm/F/T combinations.

Fixed

  • Production xArm base and xarm5 flange: xarm6 and xarm7 link_base visual OBJs and xarm5 link_base collision hulls now use the production version A base (flat top at 150.35 mm, body Ø95.4 mm) instead of the prototype version B base (152.3–152.6 mm), and xarm5 link5 uses the centered xarm6 link6 flange mesh (fixing the 1.0 mm off-axis visual shift). Updated BASE_PLATE_MOUNT for xarm6 and xarm7 to match xarm5 ((-0.00012433, -0.00038722, -0.00001016) m, yaw 0.000002356 rad).
  • Bio Gripper G2 flange mount and collision hulls (synced from ufactory_genesis d812529): replaced the four per-arm BIO_GRIPPER_MOUNT offsets with the single yaw-only xArm-flange mount ((0.022642, 0.000814, 0.002516) m, yaw -0.00628537 rad) across xarm5/xarm6/xarm7/uf850, moving the flange-frame TCP from (159.7–162.0, -1.9–0, 54.2–55.0) mm to (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.xml and tests/fixtures/bio_gripper_g2_movable_visual.urdf).
  • Bio Gripper G2 adapter plate visual mesh (synced from ufactory_genesis ebed948): updated bio_gripper_g2_base_silver.obj from bio_gripper_g2_base.glb (105,457 vertices / 183,837 faces, doubled with inertia="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): rebuilt base_silver.obj and base_black.obj from the updated 4-primitive base.glb with analytic circular surfaces and normals across the Ø75.0 mm flange rim, Ø31.5 mm centering boss, R = 3.00 mm pin hole, +Y cover 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 mm slot).

Verified

  • Local 3-environment sequential acceptance (py312, py313, py314): ruff check ., git diff --check (excluding OBJ), 39 static XML + 46 composed model compilation (0 errors, 0 warnings across all 3 envs), full pytest tests (py312: 541 passed, 875 subtests passed; py313: 541 passed, 875 subtests passed including Pinocchio checks; py314: 536 passed, 5 skipped, 875 subtests passed), CI headless example smoke suite (SMOKE PASS across all 3 envs), 30 golden task reports per env (30/30 byte-identical across py312/py313/py314; all 30 reports passing; 11/11 task config_sha256 hashes and all 12 lite6/uf850 reports + 6 xarm5/xarm6/xarm7 dry-run reports byte-identical to 0.1.8, with expected numeric updates on 12 xarm5/xarm6/xarm7 physics simulation reports from UJ_BR_2403 inertials and unified xarm5 collision meshes), twine check --strict, distribution verification (39 static models, 46 composed models, 455 meshes, 2 configs / 11 task presets, 7 licenses), and isolated wheel acceptance (52 commands PASS across all 3 envs).
  • GitHub Actions CI run #45381692287: all 8 jobs passed (lint, build, test and installed across Python 3.12, 3.13, 3.14 with MuJoCo 4).

SHA-256

9731726e584b07a3cb919411294ed88b0db7527c995a08242f250c1fddcf3369  ufactory_mujoco-0.1.9-py3-none-any.whl
1e218fb2295a380f7b99c78ad8977a090d7c21db9320371ae43d4783703de886  ufactory_mujoco-0.1.9.tar.gz