Skip to content

Question regarding the target dof pos used in Host #28

Description

@wu-hy

I noticed that in Host, (current position + scaled action) is used as the target dof position, whereas the standard approach (e.g., in the original Legged Gym) typically uses (default position + scaled action) as the target dof position.

Does the method used in Host offer significant advantages compared to the normal approach? Or was this choice made simply because it demonstrated better performance for this specific task (e.g., get-up) during experimentation?

Activity

  1. TaoHuang13 commented on Jul 22, 2025

    @TaoHuang13
    Collaborator

    The main reason is that this way of computing target dof pos is more compatible with our curriculum on target dof pos (action bound/action rescaler). Note that he action in this paper is normalized within [-a, a] instead of an unbounded one.

    Image
  2. wu-hy commented on Jul 22, 2025

    @wu-hy
    Author

    Thanks for your quick response. The equation of torque computation could be further simplified as $\tau_t = K_p \cdot \beta a_t - K_d \cdot \dot{p}_t$. The goal of the PD controller is to track a target dof position. However, the current method may not guarantee that the dof pos try to converge to the target position during 4 simulation steps (as configured with control.decimation = 4, where each action is executed for 4 steps), since the P-term of the PD controller remains fixed during these steps. Could this lead to unexpected behavior?

  3. TaoHuang13 commented on Jul 30, 2025

    @TaoHuang13
    Collaborator

    This is correct. However, it would have a negative effect, as the network will overfit to this case. See the ETH legged robot 2018 paper for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions