Replies: 1 comment
-
|
Thank you for posting this. This behavior is expected with What the DC motor PD actually doesThe and then this torque is clamped by a motor model based on Key implications:
Why your torque looks proportional to the actionFrom your plots, you effectively see: even though the actual joint position does not match the commanded position. This can happen in Isaac Lab with
making it look “pure proportional”.2[^1_4]
Checks to confirm configuration vs. misconfigurationThese are concrete things to check to see if your setup is behaving as designed:
How to reduce “too high” actions and mismatched trackingIf your goal is better tracking and smaller policy amplitudes rather than strict DC-motor realism:
SummarySo, yes: seeing torque closely follow Footnotes
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi everyone, I’m developing a reinforcement-learning controller for a bipedal leg in Isaac Lab (training with PPO using RSL-RL), and I’m running into an issue with how the PD actuator behaves in simulation and dont know why Policy Actions Are Too High and Don’t Match Actual Joint Positions.
I’m using DCMotor config for my actuators. Here’s a simplified snippet of my setup:
After training, when I played the policy and plotted
the policy action (target position in radians)
the actual joint position in the environment
the torque output by each joint in the environment,
the behavior is as follow.
I observe that:
torque ≈ Kp * target_position(policy)
instead of the expected PD relationship:
τ = Kp * (q_des – q) + Kd * (qdot_des – qdot) + feedforward torque
The torque graph nearly matches the policy’s target-position graph, even though the actual joint position is different, causing the policy actions to be much higher than expected.
My question:
Is this behavior expected when using DCMotorCfg with the PD torque model in Isaac Lab? Or does this indicate a misconfiguration in the actuator setup or RL training?
Build Info
Beta Was this translation helpful? Give feedback.
All reactions