Repository navigation
Description
Description
Description
Isaac/Robots/Ufactory/xarm7/xarm7.usd of the Isaac Sim 6.1 asset library (https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/6.1/Isaac/Robots/Ufactory/xarm7/xarm7.usd, sha256 ed09322f…6941c62db) has physxJoint:jointFriction = 1.0 on each of its 7 joints. The value is authored in configuration/xarm7_physics.usd (sha256 1e6dee25…0621ecde). The stage is in metres and kilograms.
1. Joints 1 to 5 hardly follow their drives
With the file's values, PhysX moves joints 1 to 5 at 5 to 27 deg/s toward a target 45 deg away. Joint 4 moves 9.9 deg in 2 s. The drives are not too weak for the arm: with jointFriction set to 0 or to 0.01 and nothing else changed, every joint reaches the target within 0.5 s at its velocity limit of 180 deg/s. The table below gives the numbers.
The drives as authored (drive:angular:physics:*):
| Joint | stiffness (N m/deg) | damping (N m s/deg) | maxForce (N m) | jointFriction |
|---|---|---|---|---|
| joint1 | 37.08 | 0.0148 | 50 | 1.0 |
| joint2 | 55.89 | 0.0224 | 50 | 1.0 |
| joint3 | 148.7 | 0.0595 | 30 | 1.0 |
| joint4 | 231.1 | 0.0924 | 30 | 1.0 |
| joint5 | 182.5 | 0.0730 | 30 | 1.0 |
| joint6 | 10.15 | 0.0041 | 20 | 1.0 |
| joint7 | 2.071 | 0.0008 | 20 | 1.0 |
The PhysX schema describes jointFriction as dimensionless: the friction torque on an axis can reach coefficient × (|F| + |T|), where F and T are the force and torque that the joint transmits from parent to child. Joint 1 carries the rest of the arm, about 10.4 kg, so F alone is about 100 N. With a coefficient of 1.0, the friction limit is then above 100 N m, twice the drive's maxForce of 50 N m. Joint 6 carries only the last two links (1.5 kg) and joint 7 only the last one (0.17 kg), and they move almost normally.
2. Where 1.0 likely comes from
The maker's URDF (https://github.com/xArm-Developer/xarm_ros, xarm_description/urdf/xarm7/xarm7.urdf.xacro) has <dynamics ... friction="1" /> on each of the 7 joints. In URDF, friction is a Coulomb friction torque in N m. Isaac Sim 6.1's importer copies that value into the coefficient without a change of unit: urdf_to_mjc_physx_conversion_utils.py in isaacsim.asset.importer.utils reads urdf:dynamics:friction and sets physxJoint:jointFriction to it. mjc_to_physx_conversion_utils.py does the same with MJCF's frictionloss, which is also in N m. The asset does not record how it was made, so this is our inference. If it is right, other assets imported from URDF or MJCF with a joint friction get the same coefficient.
Reproduce
xarm7_friction_repro.py (attached) needs only Isaac Sim. It loads xarm7.usd without its gripper (Variant_Set = None), fixed to the world as in the file. For each joint in turn, it sends a target 45 deg from the start position, keeps the other joints' start positions as their targets, and steps 2 s at 240 Hz with the file's drives. It prints how far the joint moved at 0.5, 1 and 2 s, and the largest joint velocity that PhysX reports.
<Isaac Sim's python> xarm7_friction_repro.py <path or URL of xarm7.usd>
<Isaac Sim's python> xarm7_friction_repro.py <path or URL of xarm7.usd> --friction 0
<Isaac Sim's python> xarm7_friction_repro.py <path or URL of xarm7.usd> --friction 0.01
--friction X sets physxJoint:jointFriction to X on every joint before the simulation starts.
How far each joint moved toward its +45 deg target, at 0.5 / 1 / 2 s, on the configuration below:
| Joint | as published (1.0) | --friction 0 |
--friction 0.01 |
|---|---|---|---|
| joint1 | 12.6 / 24.8 / 43.0 deg | 45.7 / 44.9 / 45.0 deg | 45.5 / 45.0 / 45.0 deg |
| joint2 | 8.5 / 16.6 / 31.6 deg | 44.6 / 45.2 / 45.2 deg | 44.9 / 45.2 / 45.1 deg |
| joint3 | 13.2 / 26.7 / 45.0 deg | 45.1 / 45.0 / 45.0 deg | 45.0 / 45.0 / 45.0 deg |
| joint4 | 2.4 / 4.8 / 9.9 deg | 44.8 / 45.0 / 44.9 deg | 44.8 / 45.0 / 45.0 deg |
| joint5 | 8.4 / 17.0 / 35.2 deg | 45.0 / 45.0 / 45.0 deg | 45.0 / 45.0 / 45.0 deg |
| joint6 | 29.7 / 45.0 / 45.0 deg | 45.1 / 45.1 / 45.1 deg | 45.1 / 45.1 / 45.1 deg |
| joint7 | 43.7 / 45.0 / 45.0 deg | 45.0 / 45.0 / 45.0 deg | 45.0 / 45.0 / 45.0 deg |
Largest joint velocity reported by PhysX in the same runs (deg/s):
| Joint | as published (1.0) | --friction 0 |
--friction 0.01 |
|---|---|---|---|
| joint1 | 0.76 | 179.91 | 179.93 |
| joint2 | 0.41 | 179.91 | 179.92 |
| joint3 | 1.13 | 179.91 | 179.94 |
| joint4 | 0.48 | 178.17 | 177.75 |
| joint5 | 0.49 | 179.89 | 179.79 |
| joint6 | 164.30 | 179.91 | 179.89 |
| joint7 | 125.84 | 179.91 | 179.34 |
A coefficient of 0.01 already behaves like 0, so the joints are free with any coefficient on the scale the schema expects.
In the published run, the reported velocities of joints 1 to 5 do not match their motion. Joint 1 moved 12.6 deg in the first 0.5 s, an average of 25 deg/s, but the largest velocity that PhysX reported at the end of any step was 0.76 deg/s. Joint 4 moved 9.9 deg in 2 s (5 deg/s) with at most 0.48 deg/s reported. A controller or a test that reads joint velocities sees these joints as almost still while they move.
Suggested fix
- Remove
physxJoint:jointFrictionfrom the 7 joints, or set it to a value of the order the schema expects (0.01 behaves like 0 in our runs). If the arm should have friction of about 1 N m per joint, as the URDF says,jointFrictioncannot express it as a torque. - In the URDF and MJCF importers, do not copy
frictionorfrictionloss(N m) intophysxJoint:jointFriction(dimensionless) as they are.
Isaac Sim version
6.1.0
Operating System (OS)
Windows 11 Pro 10.0.26200
GPU Name
NVIDIA GeForce RTX 4090 Laptop GPU
GPU Driver and CUDA versions
Driver 610.47, CUDA 13.3
Logs
The file loads and runs with no PhysX error or warning in all three runs.
Additional information
Found with proofmass-check (https://github.com/proofmass/proofmass-check, open source), whose joint checks move each driven joint to points inside its range. In its PhysX run of the published file, joints 1, 3 and 5 missed their targets by about 160 deg, and the velocity check read joint 1 at 1.2 deg/s.
xarm7.usd selects the xarm_gripper variant by default. That variant loads ../xarm_gripper/xarm_gripper.usd, which is not part of the xarm7 folder. The repro selects Variant_Set = None so that it needs only the xarm7 folder.
Activity
PeterL-NV commentedon Dec 2, 2026
Hi, thanks for reporting the issues! The URDF/MJCF importers in our next release no longer write the friction torque into
jointFriction. They author it as a joint friction torque (physxJointAxis:<axis>:staticFrictionEffort/dynamicFrictionEffort) instead.You can import the assets with the new importers or wait for the assets to be updated after the new release is available.
A note for PhysX joint friction efforts, which Newton does not read (#68