Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds velocity_limit_sim and effort_limit_sim to actuator #1654

Merged
merged 10 commits into from
Feb 15, 2025
Prev Previous commit
Next Next commit
add note tag to limit docstrings
jtigue-bdai committed Feb 14, 2025
commit 70803112be083ed5eeb4979ec27f9361532e9bb1
12 changes: 8 additions & 4 deletions source/isaaclab/isaaclab/actuators/actuator_cfg.py
Original file line number Diff line number Diff line change
@@ -36,8 +36,10 @@ class ActuatorBaseCfg:
This limit is used to clip the computed torque sent to the simulation. If None, the limit is set to the value
specified in the USD joint prim.

For ImplicitActuators this value will be collapsed with effort_limit_sim due to duplicating functionality. If both
are set the effort_limit_sim will be used priority.
.. note::

For ImplicitActuators this value will be collapsed with effort_limit_sim due to duplicating functionality. If
both are set the effort_limit_sim will be used priority.
"""

velocity_limit: dict[str, float] | float | None = None
@@ -50,8 +52,10 @@ class ActuatorBaseCfg:
velocity_limit is not used in ActuatorBaseCfg but is provided for inherited version like
:class:`isaaclab.actuators.DCMotor`.

For ImplicitActuators this value will be collapsed with velocity_limit_sim due to duplicating functionality. If both
are set the effort_limit_sim will be used priority.
.. note::

For ImplicitActuators this value will be collapsed with velocity_limit_sim due to duplicating functionality. If
both are set the effort_limit_sim will be used priority.
"""

effort_limit_sim: dict[str, float] | float | None = None