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

Enforce acceleration/torque/current limits in torque-controlled commands #160

Closed
PeterBowman opened this issue Jul 19, 2018 · 2 comments
Closed

Comments

@PeterBowman
Copy link
Member

Some CMC-controlled commands (i.e. movl and movv) make sure that the resulting velocity (obtained via solver methods) does not exceed certain limits. For instance:

for (int i = 0; i < commandQdot.size(); i++)
{
if (std::abs(commandQdot[i]) > maxJointVelocity)
{
CD_ERROR("diffInvKin too dangerous, STOP!!!\n");
stopControl();
return;
}
}

Is it feasible to limit the resulting torque in the gcmp and forc commands? How to obtain that in the first place? See roboticslab-uc3m/yarp-devices#187 (comment).

@PeterBowman PeterBowman changed the title Enforce acceleration/torque/current limits on force-related commands Enforce acceleration/torque/current limits in torque-controlled commands Jul 19, 2018
@PeterBowman
Copy link
Member Author

PeterBowman commented Jul 19, 2018

I wonder if the benefits of enforcing such a constraint are worth the effort to develop the full backend. Low accelerations/torques/currents values may still produce significant velocities.

Edit: see #161.

@PeterBowman
Copy link
Member Author

I think the I2t driver protection is the way to go, also a firmware protection is far more reliable than any upstream slow-loop check.

@PeterBowman PeterBowman closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant