Skip to content

[Bug Report] Incorrect dof max velocities for explicit actuators #1384

Closed

Description

@diegoaldarondo-fauna

Describe the bug

When using explicit actuators in an articulation, the max dof velocity is not set properly. For explicit actuators, the articulation root_physx_view seemingly should set the max_dof_velocity of the implicit actuator to a large number, similar to how effort limits are handled. This is particularly true for explicit actuators that implement a velocity limit, but exactly how it should be handled in general is unclear.

Steps to reproduce

Instantiate any model using explicit actuators and velocity limits greater than the default physx max dof velocity limits.

System Info

Describe the characteristic of your environment:

  • Commit: b9a49ca
  • Isaac Sim Versions: 4.0.0-4.2.0
  • OS: [e.g. Ubuntu 22.04]
  • GPU: [e.g. NVIDIA RTX 4090]
  • CUDA: [e.g. 12.1]
  • GPU Driver: [e.g. 535.183.01 and 550.120]

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

  • The velocity limits should be lifted for explicit actuators.

Activity

  1. self-assigned this
    on Nov 8, 2024
  2. jtigue-bdai commented on Nov 8, 2024

    @jtigue-bdai
    Collaborator

    Currently for explicit actuators(i.e. ActuatorBase), the velocity_limit is only used by the DCMotor actuator. It is used to calculate the motor torque limit. Currently nothing is setting the velocity limits of the root_physx_view. If the articulation USD you are importing has implicit actuator limit set then those will be unchanged.

    Am I correct in my understanding that you would like the explicit actuators to overwrite any imported articulation joint limits via root_physx_view.set_dof_max_velocities.

  3. diegoaldarondo-fauna commented on Nov 12, 2024

    @diegoaldarondo-fauna
    Author

    Yes, I believe that is the case, at least for explicit actuators that define a velocity_limit. Alternatively, I could imagine a warning when the DCMotor velocity limit exceeds the imported articulation joint limit.

    I mainly am interested in avoiding a situation in which the DCMotor velocity limits are accidentally/silently rendered somewhat irrelevant due to the imported articulation velocity limit.

  4. jtigue-bdai commented on Nov 12, 2024

    @jtigue-bdai
    Collaborator

    Ok thanks for the clarification. I will add this to our list.

  5. added
    enhancement
    on Nov 16, 2024
  6. added a commit that references this issue on Dec 8, 2024
    4ee4957
  7. Mayankm96 commented on Dec 10, 2024

    @Mayankm96
    Contributor

    We have been having follow-up discussions on the MR itself. Might make sense to discuss them here.

    #1509 (comment)

    I agree with @larsrpe. Solver-level limits are different from the explicit model considerations. For explicit models, we may want to do the clipping inside the model but not have PhysX apply any of that within it (as tight constraints may lead to undefined behaviors).

    For most of the shared quantities, we should maybe have their counterpart quantities as "torque_limit_sim" and "velocity_limit_sim". This makes it clear that these are being set at the solver level always. Their default values can be high (as right now).

  8. larsrpe commented on Dec 11, 2024

    @larsrpe

    I agree that it should be very clear which settings are propagated to the simulation-level. For now I think the only potential issue with this MR is for DCMotor, so to patch this separating the explicit model velocity limit (no load speed) and solver level velocity limits might be a good start?

  9. Mayankm96 commented on Jan 9, 2025

    @Mayankm96
    Contributor

    Is anyone looking into this? The recent change affects the way limits are set in the simulator and might affect sim-to-real for some applications where this is unintentional.

    @jsmith-bdai @kellyguo11

  10. jtigue-bdai commented on Jan 9, 2025

    @jtigue-bdai
    Collaborator

    Is anyone looking into this? The recent change affects the way limits are set in the simulator and might affect sim-to-real for some applications where this is unintentional.

    @jsmith-bdai @kellyguo11

    I have it on my list of To Dos, but I haven't gotten to it yet.

  11. added theissue type on Mar 1, 2025
  12. 2 remaining items

  13. added 2 commits that reference this issue on May 19, 2025
    b1cb27a
    eb21029
  14. added 4 commits that reference this issue on Jul 1, 2026
    19d5793
    d3080a0
    42620db
    e3d599c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions