Skip to content

Release v0.3.11: AI1500 F/T sensor, vacuum/Bio G2 real control, controller FK calibration, and Pick & Place RL C10 - #5

Merged
DanielWang123321 merged 15 commits into
xArm-Developer:mainfrom
DanielWang123321:main
Nov 30, 2026
Merged

DanielWang123321 merged 15 commits into
xArm-Developer:mainfrom
DanielWang123321:main

Conversation

@DanielWang123321

Copy link
Copy Markdown
Member

Summary

Prepares v0.3.11 (14 commits on top of v0.3.10 / c167f1e):

Highlights

  • Pick & Place RL (C10 recipe + Hugging Face pretrained checkpoint):
    • Ported the C10 pure-PPO seed-stability recipe (examples/rl/pick_place/{env.py,recipe.yaml,train.py}, ufactory/training/pick_place_config.py) with pad-derived flange height limits, finite-horizon timeout handling (time_outs=False), zero-penalty outer-margin linear spring envelope (alpha=0.16), target-table unclamping ratchet, single-episode touchdown latch, pre-lift stall/drive fixes, bounded std_range: [0.16, 0.65], and 192-episode dual-set holdout early stopping.
    • Across a 10-seed benchmark (seeds 1..10, -B 2048), 8/10 seeds passed strict blind evaluation (≥98% over 64 episodes, ≤1.0 mm max press) and GLB B=1 replay (508/512 = 99.22% combined blind success across passing seeds, 0.00 IK rejects).
    • Published the best checkpoint (pick_place/xarm6-pick-place/seed-7/model_best.pt, early-stopped at 650 iterations) to UFACTORY-Developer/ufactory_genesis_rl (commit c549559): 100% dual-holdout (64/64 + 128/128), 100% (64/64) blind eval on seed 18007 (max_press = 0.477 mm, mean/median target error 6.98 / 6.14 mm), and GLB B=1 replay PASS (verified round-trip from HF on RTX 4060 Ti).
  • Hardware & End-Effector Support:
    • AI1500 six-axis F/T sensor: URDF/GLB/STL/convex-hull assets (assets/urdf/accessories/ft_sensor_ai1500/), assembly.yaml schema v6 stacking, ufactory.hardware.ft_sensor SDK wrapper (XArmFTSensor), and diagnostic CLI scripts/ft_sensor_check.py verified on real xArm6.
    • 5-cup vacuum_gripper: full ufactory-pick-place integration (--gripper vacuum_gripper --vacuum-hardware-version {1,2}, VacuumProfileAdapter, 0-DOF SafetyGate), real-hardware MODE_SERVO sync=True and paused-state shutdown_real fixes, verified end-to-end on real xArm5.
    • Bio Gripper G2: real-controller servo_cartesian + servo_j + --visual kinematic mirror support on xArm6, plus Genesis 1.4.7+/1.5+ mirror compatibility and Pinocchio <mimic> fallback.
  • Kinematics, Safety & Architecture:
    • Controller-FK per-unit calibration identification (ufactory.kinematics.controller_fk, scripts/gen_kinematics_params.py) replacing faulty register-8 exports, plus redundant-arm (xArm7) sdk-sim end-effector pose comparison.
    • Breaking (config sha256): 6D gripper.tcp_offset ([x, y, z, r, p, y]) across all runtime YAMLs with fail-closed real-mode controller TCP verification (ufactory.manipulation.tcp), headless servo_j decoupling from Genesis, and 0-DOF scene/mirror generalization.
    • Breaking (assets/urdf/ layout): categorized URDF assets into robots/, end_effectors/, cameras/, mounts/, objects/, and accessories/; split Lite6 link6 collision mesh into three exact convex hulls; updated UF850 base / mounting-plate inertials and aluminium PBR materials; added vacuum, controller_fk, and tcp to strict mypy-domain gate.
  • Release v0.3.11 metadata: bumped 0.3.10 -> 0.3.11 in pyproject.toml, uv.lock (genesis-ufactory only; third-party pins unchanged), assets/manifest.json, README.md, README_zh.md, SECURITY.md, and CHANGELOG.md.

Verification (clean 557a371)

  • Pure .[dev] CI simulation (blocking torch, genesis, pinocchio, coal, trimesh, xarm, matplotlib, rsl_rl, tensordict): 1066 passed, 174 skipped, 61 deselected, coverage ≥ 75% PASS.
  • uv lock --check & uv export --frozen: PASS.
  • project-check fast: 8/8 PASS (config-assets, ruff-check, ruff-format, mypy-domain, compileall, pytest-fast, pytest-safety-coverage, safety-coverage-threshold).
  • project-check sim (RTX 4060 Ti, Genesis 1.4.7): 9/9 PASS (38 passed GPU tests).
  • project-check sdk-sim (all 5 bench robots: Lite6, xArm5, xArm6, xArm7, UF850): 15/15 PASS, post-run read-only audit clean (is_sim=False, err_warn=[0, 0]).
  • project-check release --version 0.3.11: release-version, clean-worktree, snapshot-fast, pip-audit, evidence-sim, and evidence-sdk-sim all PASS (lock-installed-match reports expected local py313 drift only; real-robot physical motion acceptance passed across all 5 robots on d3ec586 prior to docs/test/version commits).
  • HF checkpoint round-trip: downloaded pick_place/xarm6-pick-place/seed-7/ from UFACTORY-Developer/ufactory_genesis_rl and verified examples.rl.pick_place.evaluate (64/64 = 100%, max_press = 0.477 mm) and visualize -B 1 --headless (1/1 PASS, press = 0.282 mm).

Note: Tagging v0.3.11 and publishing the GitHub Release are intentionally left until after PR review and merge.

…ials

- Unified pure-NumPy ArmMotionController (Phase 1 & 2): 5-robot calibrated FK/IK/DLS singularity avoidance (motion.allow_approx_motion), configurable simulation rate (simulation.rate_hz), SafetyGate / Genesis / XArmTransport / CLI integration, and tests.
- Inertial updates: UF850 link_base (5.869631 kg, SolidWorks Arm850_P01), uf850_mounting_plate (1.056 kg), and robotiq_mounting (0.118 kg) URDFs, READMEs, tests, CHANGELOG.md, and assets/manifest.json SHA-256 hashes.
…bjects and accessories

Source URDF files and sha256 digests are unchanged. Composed URDF mesh paths and sha256 digests change; updated assembly.yaml, runtime robot configs, manifest.json, code path resolvers, tests, .gitignore, CHANGELOG.md, and README links.
- Update xarm_mounting_plate, uf850_mounting_plate, and lite6_mounting_plate GLB PBR materials (plate_anodized_aluminum) and URDF PlateAluminum colours to the arm end-flange FLANGE_METAL (baseColor [0.952941, 0.952941, 0.949020, 1.0], metallic 0.80, roughness 0.640131), keeping collision STLs and inertials unchanged.
- Refresh the three mounting plate URDF sha256 entries in assets/manifest.json.
- Add dependency-free regression test test_mounting_plate_materials_match_arm_flanges in tests/robots/test_mounting_plate_assembly.py comparing against xArm6, UF850, and Lite6 link6.glb flange metals, and record the change in CHANGELOG.md.
- Harden BioG2Adapter (speed_rpm/force_percent bounds, non-blocking servo calls, 0.05 mm deduplication, and prepare_real pre-read)
- Add bio_gripper_g2 runtime overlay, BIO_GRIPPER_G2_TCP_IN_FLANGE_M, and xarm6 real-controller mode gate (servo_cartesian)
- Add Pinocchio runtime <mimic> fallback for URDFs where mimic precedes parent
- Include err_warn and state diagnostics in sdk_sim_feedback failures
- Add VacuumGripperAdapter and hardware probe/test scripts
… add Bio G2 mirror support

- Decouple non-sim/non-visual servo_j compilation in pick_place and packaging from Genesis via pure-NumPy ArmIKContext and solve_arm_home_q
- Add 6D gripper.tcp_offset (mm + deg) to all runtime robot/gripper YAMLs, refresh assets/manifest.json, unify planning TCP-to-flange conversion, and fail closed on real-mode controller TCP mismatch (>10 mm or >2 deg)
- Enable Bio Gripper G2 servo_j and real-mode --visual kinematic mirror support, generalize build_scene/TrajKinematicMirror/KinematicCarryTracker for 0-DOF end effectors (vacuum_gripper, lite6_vacuum_gripper, bare), and fix _update_mirror_entities for Genesis 1.4.7+ / 1.5+
- Verified on xArm6 (192.168.1.60) across headless servo_j, real servo_cartesian --visual, and real servo_j --visual (0 deadline misses)
- Version 0.3.10 -> 0.3.11 in pyproject.toml, uv.lock (genesis-ufactory
  only; third-party pins unchanged), assets/manifest.json, README /
  README_zh badges and SECURITY.md.
- CHANGELOG: promote Unreleased entries to 0.3.11 (2026-11-28), including
  the published xArm6 + Gripper G2 Pick & Place RL checkpoint (C10, seed-7)
  on Hugging Face, AI1500 F/T sensor, 5-cup vacuum gripper, controller FK
  calibration, 6D tcp_offset validation, headless servo_j decoupling,
  Bio Gripper G2 real-controller support, URDF directory categorization,
  and Lite6 link6 collision hull refinement.

uv export --frozen and uv lock --check pass.
@DanielWang123321
DanielWang123321 merged commit a623b9d into xArm-Developer:main Nov 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant