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

[Question] Clarification on effort_limit and velocity_limit Units, and Setting Hard Limits for Joints #1636

Open
Fuhua-Bot opened this issue Jan 6, 2025 · 1 comment

Comments

@Fuhua-Bot
Copy link

Description:

In the following ImplicitActuatorCfg configuration:

actuators = {
    "wheels": ImplicitActuatorCfg(
        joint_names_expr=["LeftWheel", "RightWheel"],
        effort_limit=3.5,
        velocity_limit=40.0,
        stiffness=100000.0,
        damping=10000.0,
        friction=0.0,
    ),
}

I have two specific questions:

Regarding units:

What are the exact units of effort_limit and velocity_limit?
My assumption is that effort_limit is in N (Newtons) and Nm (Newton-meters), depending on the type revolute/prismtic, and velocity_limit is in rad/s (radians per second). Could you please confirm?

Setting hard limits for joints:

I noticed that there are configurations related to soft limits. However, I couldn't find any parameters for setting hard limits (e.g., directly restricting joint position or angle bounds) neither in ActuatorBaseCfg nor in Env_Cfg . Could you clarify how to configure hard limits for joints? Is there a separate configuration for this?

What I've tried: I reviewed the documentation related to ActuatorBaseCfg and ImplicitActuatorCfg, but couldn't find specific details about these two points. If there is relevant documentation or examples, I'd appreciate if you could point me in the right direction.

Thank you for your support!

@RandomOakForest
Copy link
Collaborator

Thank you for posting this. Your assumption should be correct. effort_limit is in Newton-meters (Nm) for revolute joints, and in Newton (N) for prismatic joints, while velocity_limit is in rad/s for revolute joints, or meters/s for prismatic joints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants