Repository navigation
Release v0.3.12: joint dynamics profiles, UJ_BR_2403 inertials, and retrained RL checkpoints - #6
Merged
Conversation
…LB inertia
- Update link1..linkN inertials in xarm{5,6,7}_1305 STL/GLB URDFs from HT_BR2 to official xarm_ros2 UJ_BR_2403 (>= 1305 hardware), preserving Xarm+_P01 link_base and joint dynamics
- Align lite6_visual.glb.urdf link_base inertia tensor with lite6.urdf
- Refresh assets/manifest.json SHA-256 entries, robot READMEs, and asset/Bio G2 inertial tests
Check SN eligibility before auto-filling the file suffix, so a unit whose model code rules out per-unit kinematics compensation exits with code 2 instead of raising ValueError or loading a matching user YAML. --force still exports such units. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Update the Reach README benchmark and examples (en/zh) for the five checkpoints retrained at 989a5fb under the compensated joint dynamics and UJ_BR_2403 inertials, now on Hugging Face, and record them in CHANGELOG. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
sha256): Added identified arm joint dynamics to the five runtime robot configs (assets/configs/runtime/robots/{xarm5_1305,xarm6_1305,xarm7_1305,uf850,lite6}.yaml):arm.dynamics_profile(defaultcompensated) andarm.dynamics(kt_output_nm_per_a,profiles.{compensated,raw}.{armature,damping,frictionloss}, anddomain_randomizationrelative ranges, which are validated but not yet applied).compensateduses the identified rotor armature and viscous damping with zero Coulomb friction, because the controller compensates dry friction;rawadds the identified Coulombfrictionloss.apply_arm_joint_dynamics(...)(ufactory.dynamics.calibration) applies the selected profile in the pick-place and packaging scenes, the robot viewers and both RL environments. Previously Genesis used the URDF<dynamics>damping/friction (kept as the upstreamxarm_ros2baseline) and its default armature of0.1. The new fields are part of the runtime configsha256(xarm6+gripper_g2:f4ecfc73…→f2ef50f1…). The published v0.3.11 Pick & Place checkpoint is therefore refused at load (runtime config hash); both the Pick & Place and Reach checkpoints were retrained under the new dynamics (see Changed).ufactory.dynamics.calibration.load_dynamics_calibration; schema 1, bound torobot_keyand the full serial number; optional per-jointarmature/damping/frictionloss, wherefrictionlossapplies only underraw) and--dynamics-profile {compensated,raw}/--dynamics-calibrationin the dynamics checks, whose reports now record the profile, the calibration path andsha256, and the applied joint armature and damping.Changed
link1..linkN) inertials ofxarm5_1305,xarm6_1305andxarm7_1305(STL and GLB URDFs) fromxarm_ros2HT_BR2to the officialUJ_BR_2403parameters for>= 1305hardware (moving mass: xArm58.1568 → 8.5270 kg, xArm69.35164 → 9.6710 kg, xArm710.4315 → 11.7844 kg), keeping the unifiedXarm+_P01link_base, and refreshedassets/manifest.json. On a bare-flange xArm7 the mean static gravity-torque error of the reference poses fell from1.47to0.15 N·m.urdf_sha256bindings of xArm5/6/7 and composed URDFs change.lite6_visual.glb.urdfnow carries the samelink_baseinertia tensor aslite6.urdf(it was zero; no effect on the fixed-base arm).989a5fbunder the new physics (compensatedjoint dynamics,UJ_BR_2403inertials; seed7,-B 4096,300iterations) and replaced them on Hugging Face (UFACTORY-Developer/ufactory_genesis_rl,reach/). Selected checkpoints:model_250.pt(xArm5),model_275.pt(xArm6) andmodel_299.pt(xArm7, UF850, Lite6). Holdout evaluation (17000/17001, 512 episodes each): success97.1–100%/97.9–100%, mean terminal distance4.23–5.78/4.19–5.71 mm; peak VRAM1.92–2.56 GBon an RTX 4060 Ti. Updated the bilingual Reach README benchmark and examples.xArm6+Gripper G2Pick & Place RL checkpoint (C10recipe,-B 2048,v0.3.12physics withcompensatedjoint dynamics andUJ_BR_2403inertials) across a 10-seed benchmark (seeds 1..10, up to1200iterations):9/10 (90%)passed strict blind evaluation andGLB B=1replay (574/576 = 99.65%combined blind success across passing seeds,0.00IK rejects). Replacedseed-7on Hugging Face (UFACTORY-Developer/ufactory_genesis_rl) withpick_place/xarm6-pick-place/seed-2/model_best.pt(early-stopped at700iterations):100%dual-holdout (64/64on seed17000,128/128on seed17500),100%(64/64) blind evaluation on seed18002on both Colab L4 (max_press = 0.496 mm, mean/median error7.55 / 7.28 mm) and local RTX 4060 Ti (max_press = 0.339 mm, mean/median error7.36 / 7.38 mm), andGLB B=1replay PASS. Updated bilingual Pick & Place README benchmark and inference examples.Fixed
scripts/gen_kinematics_params.pyskips a unit whose SN model code rules out per-unit kinematics compensation (Lite6< 1006, xArm< 1304) with exit code2before it picks a file suffix. Previously the auto-filled suffix made the eligibility check raiseValueError, or print a misleading "loading it anyway" warning when a matching user YAML existed.--forcestill exports such units.