Skip to content

v0.1.5 - Full-Precision Visuals, Multi-Arm D435, and Slimmed Public API

Choose a tag to compare

@DanielWang123321 DanielWang123321 released this 16 Nov 11:31
· 27 commits to master since this release

Full-precision visual meshes, multi-arm RealSense D435 assemblies, Lite 6 joint PD tuning, end of MuJoCo 3 support, and a smaller public API. See CHANGELOG.md.

Install

pip install ufactory_mujoco-0.1.5-py3-none-any.whl   # attached below; Python 3.12–3.14
ufactory-mujoco pick-place --robot xarm6 --headless

The wheel is a 111.8 MiB download (630.7 MiB of bundled models, meshes, task configs, and licenses once installed) and requires MuJoCo >=4,<5 (MuJoCo 3.x is no longer supported from 0.1.5).

Breaking

  • ufactory_mujoco exports 39 user-facing names instead of 84 (lower-level helpers remain importable from their submodules).
  • Consolidated gripper/Jacobian APIs on RobotInterface, SimRobot, and XArmRobot: get_gripper_gap(measured=True) (replaces get_measured_gripper_gap()), set_gripper_gap(mm / 1000, ...) (replaces set_gripper_command), SimRobot.gripper_control_output property (replaces get_gripper_control_output()), grippers.gripper_object_contact_forces_n(...) (replaces SimRobot.get_gripper_contact_forces), and kinematics.pose_jacobian(...) (replaces SimRobot.tcp_jacobian).
  • Removed redundant helpers (pose_error, condition_number, path_length, bio_g2_physics_summary, MASS_KG, BIO_G2_PHYSICS_PROFILE, bio_g2_model.bounded, PACK_PHASES, XArmRobot.get_controller_tcp_pose) and the assets extra.

Fixed

  • Restored full upstream tessellation on all arm and accessory visual OBJ meshes (vertices match ufactory_genesis v0.3.6 GLBs within 1.4e-8 m), eliminating joint banding creases and rounded-edge polygonization.
  • Converted 36 thin-walled/open visual OBJ parts (including all 7 Gripper G2 meshes, 4 Bio Gripper G2 parts, vacuum gripper housing, and arm end parts) to double-sided meshes with inertia="shell", eliminating back-face culling holes.

Added

  • Seven RealSense D435 arm assemblies ({xarm5,xarm6,xarm7,uf850}_with_d435 and {xarm5,xarm7,uf850}_with_gripper_and_d435; 14 XMLs reusing meshes via relative symlinks) with regression tests locking human-eye upright view and base Y- (flange +Y) USB-C orientation across all 8 xArm/UF850 D435 assemblies.
  • Asset regression tests covering visual OBJ disk footprint (450–650 MiB), flattened-normal area bounds, and double-sided OBJ / inertia="shell" checks.

Changed

  • Requires mujoco>=4,<5; dropped requirements-lock-mujoco3.txt and MuJoCo 3 CI.
  • Tuned Lite 6 joint position actuator PD gains (J1–3 kv 200 -> 80, J4–6 kp 40/80/40 -> 160/320/160, kv 8/16/8 -> 6.4/12.8/6.4) to a uniform 0.04 s time constant. Task reports for xArm 5/6/7 and UF850 remain byte-identical to 0.1.4; Lite 6 simulation task reports reflect tighter Cartesian line tracking (<= 0.13 mm).
  • Updated xarm5, xarm7, and uf850 combination ready keyframes to exact Gripper G2 (300, 0, 300) mm downward IK poses (RPY = (180°, 0°, 0°)).
  • Consolidated resource_paths.py into model_paths.py and check_distribution.py into accept_installed.py --check-dist; moved asset conversion scripts into local dev/asset_tools/.
  • Updated root and examples/simulation English/Chinese READMEs with the Python 3.12–3.14 / MuJoCo 4.x support matrix, accurate model counts (44 total / 30 arm / 19 jaw-gripper), and grouped CLI option tables.

Removed

  • scripts/optimize_visual_objs.py, remaining RL-only scenes/interfaces (scene_reach.xml, ReachWorkspace, ScalarG2Controller, ufactory_mujoco._hashing), unreferenced Lite 6 collision STLs (finger1.stl, finger2.stl), models/gripper_g2/source/ snapshot, and historical comparison scripts.

Verified

  • Local py314 (Python 3.14.6, MuJoCo 4.0.1): ruff check ., 99 XML compilation (0 errors, 0 warnings), full pytest tests (330 passed, 2 skipped, 596 subtests passed), CI headless example smoke suite, twine check --strict, distribution verification (99 models, 444 meshes, 11 configs, 6 licenses), and clean-venv wheel acceptance (44 commands PASS).
  • GitHub Actions CI run #43855340170: all 8 jobs passed (lint, build, test and installed across Python 3.12, 3.13, 3.14 with MuJoCo 4).

SHA-256

488770e5070a46c15dd3ba1c3b94573f6d66ae7ae218cb7d4595a7f84155b77d  ufactory_mujoco-0.1.5-py3-none-any.whl
c4517d52bbc18aef4c50d39e7df3c5fc2333a8a43373e8e20deed3068214e3f5  ufactory_mujoco-0.1.5.tar.gz