In NewtonJointAPI (NEWTON.DJ.002), newton:damping (model.joint_damping $\to$ MuJoCo dof_damping in qfrc_passive) defines always-active passive mechanical viscous drag, not a closed-loop PD controller gain. Altering newton:damping changes coasting and backdriving behavior even with the actuator disabled. Preserve or source/measure passive mechanical joint properties (newton:damping, newton:friction, newton:armature) from the source specification (<dynamics>, datasheet, or measured passive mechanics).
Newton’s MuJoCo-Warp solver (solver_mujoco.py) does not enforce model.joint_velocity_limit
(newton:velocityLimit) as a hard solver velocity cap and clamps total actuator effort
$f_{\text{act}} = \operatorname{clip}(k_p(q_{\text{des}} - q) - k_d\dot{q}, -\text{maxForce}, +\text{maxForce})$
via jnt_actfrcrange, while adding $+dt(k_{d,\text{rad}} + b_{\text{rad}})$ to the implicit mass
matrix $M_{\text{impl}} = M + dt(k_{d,\text{rad}} + b_{\text{rad}})$.
Calibrate supported closed-loop controller gains (drive:<axis>:physics:stiffness and
drive:<axis>:physics:damping on PhysicsDriveAPI, or newton:kp / newton:kd on
NewtonPDControlAPI / NewtonPIDControlAPI) separately from passive mechanical properties.
On gravity-loaded joints where static gravity sag $|\tau_g(q)| / k_{p,\text{rad}}$ exceeds goal
tolerances in full_range_sweep_newton, multi_joint_coordination_newton, or jacobian_ik_newton
while effort is within maxForce, tune controller stiffness and damping in tandem (keeping
$k_{p,\text{rad}} / (k_{d,\text{rad}} + b_{\text{rad}}) < 2/\Delta t$ for numerical stability).
Do not hide a hard-velocity-cap limitation in velocity_limit_newton by inventing or inflating
passive newton:damping; if a joint with valid source-derived passive mechanics and controller
gains exceeds newton:velocityLimit under a full-range step command because the solver does not
enforce hard velocity clamping, preserve the physical parameters and report the solver limitation.
Distinguish controller tuning from passive mechanics and physical actuator capacity: Do not
fabricate or inflate drive:<axis>:physics:maxForce, invent passive newton:damping, or alter
joint limits to pass a benchmark probe (effort_limit_newton, velocity_limit_newton, or
full_range_sweep_newton). Only modify maxForce, newton:damping, or newton:friction when
source specifications (URDF/MJCF actuator ratings, joint <dynamics>, or manufacturer datasheets)
establish that the neutral USD value was mis-converted (such as an unauthored 3.4028235e38
sentinel or an inflated placeholder on a small gripper finger). When a mechanism’s genuine source
rating cannot support a test’s external load or gravity torque, preserve the source rating and
report the limitation.
On 4-bar parallel linkages (J2_link -(P1)-> P1_link -(P2)-> P2_link -(P2_01)-> J3_link,
with P2_01 having physics:excludeFromArticulation = 1) and on attached multi-DOF coupled grippers,
zero drive:<axis>:physics:stiffness = 0 and damping = 0 on dependent/follower joints in
runnables/physics/newton.usda so residual targetPosition = 0 drives do not fight the mechanism
and control_ownership() / detect_loop_joints() excludes passive closed-loop and follower DOFs
during jacobian_ik_newton. Only author NewtonMimicAPI when the source mechanism establishes an
actual affine coupling relationship; do not add affine mimic constraints to a general nonlinear
closed-loop linkage.
Preserve continuous revolute joints (±inf): Never invent finite physics:lowerLimit /
physics:upperLimit (such as [-360, +360] deg) on a continuous joint to avoid jacobian_ik_newton
SweepBudgetExceeded. Only author finite limits when source robot specifications define a finite range
that was omitted during conversion; otherwise preserve the unbounded joint and diagnose/report any
solver winding or playback-budget limitation.
Preserve valid authored rest poses and winding: Ensure drive:<axis>:physics:targetPosition,
state:<axis>:physics:position, and link rest transforms are mutually consistent (DJ.001, DJ.003)
and inside [lowerLimit, upperLimit]. Repair targetPosition, state:<axis>:physics:position, or
link transforms only when evidence establishes an authoring mismatch against the source mechanism (such
as targetPosition = 0 on a joint whose limits exclude 0). Do not rewrite a valid authored rest pose
or replace a valid limited-joint winding (such as -360 deg on a [-360, 360] deg joint while leaving
limits unchanged) merely to shorten travel to a benchmark’s initial waypoint (state_accuracy_newton’s
0.5 s ramp to center); if the coordinate convention itself requires conversion from source evidence,
transform limits, states, targets, and couplings consistently together, or diagnose ramp pacing /
initialization instead. When updating runnables/physics/newton.usda, preserve all valid authored joint
and link opinions and re-verify all driven-joint tests together.