You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug Report] Incorrect dof max velocities for explicit actuators #1384
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.
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.
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.
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).
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?
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.
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.
Activity
jtigue-bdai commentedon Nov 8, 2024
Currently for explicit actuators(i.e.
ActuatorBase), thevelocity_limitis only used by theDCMotoractuator. It is used to calculate the motor torque limit. Currently nothing is setting the velocity limits of theroot_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.
diegoaldarondo-fauna commentedon Nov 12, 2024
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
DCMotorvelocity limits are accidentally/silently rendered somewhat irrelevant due to the imported articulation velocity limit.jtigue-bdai commentedon Nov 12, 2024
Ok thanks for the clarification. I will add this to our list.
Fixes actuator velocity limits propagation down the articulation root…
Mayankm96 commentedon Dec 10, 2024
We have been having follow-up discussions on the MR itself. Might make sense to discuss them here.
#1509 (comment)
larsrpe commentedon Dec 11, 2024
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?Mayankm96 commentedon Jan 9, 2025
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
jtigue-bdai commentedon Jan 9, 2025
I have it on my list of To Dos, but I haven't gotten to it yet.
Adds velocity_limit_sim and effort_limit_sim to actuator (#1654)
2 remaining items
Adds velocity_limit_sim and effort_limit_sim to actuator (isaac-sim#1654
Fixes actuator velocity limits propagation down the articulation root…
Adds velocity_limit_sim and effort_limit_sim to actuator (isaac-sim#1654
Fixes implicit actuator limits configs for assets (#2952)
Fixes implicit actuator limits configs for assets (#2952)
Fixes implicit actuator limits configs for assets (isaac-sim#2952)
Fixes implicit actuator limits configs for assets (isaac-sim#2952)
Fixes implicit actuator limits configs for assets (isaac-sim#2952)
Fixes implicit actuator limits configs for assets (isaac-sim#2952)
Fixes actuator velocity limits propagation down the articulation root…
Adds velocity_limit_sim and effort_limit_sim to actuator (isaac-sim#1654
Fixes implicit actuator limits configs for assets (isaac-sim#2952)
Fixes implicit actuator limits configs for assets (isaac-sim#2952)
Fixes implicit actuator limits configs for assets (isaac-sim#2952)
Fixes implicit actuator limits configs for assets (isaac-sim#2952)