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

Signal when joint reaches joint limit #76

Open
francesco-romano opened this issue Sep 12, 2016 · 1 comment
Open

Signal when joint reaches joint limit #76

francesco-romano opened this issue Sep 12, 2016 · 1 comment

Comments

@francesco-romano
Copy link

I would like to propose a feature request.

It can be very useful to have a log (error?) when the robot hits some joint limits.
Consider for example when the robot is in torque mode.
The firmware does not apply the desired torque when the limit is hit, but because no errors is emitted understanding the cause of the robot misbehaviour can be very difficult (also because usually torque-based controllers are quite complicated..)

cc @randaz81 @marcoaccame
@DanielePucci @traversaro

@randaz81
Copy link
Member

It can be done.
Some additional considerations:

  • why you are interested in this? Actually the same problem applies to position/velocity control, but no signals are emitted, the trajectory is simply clamped.
  • In torque mode the risk is to generate this signal several tens of times in a second.
  • An high level controller can easily handle this: just check the encoder position vs the joint limits returned by the iLimit yarp interface (+ additional threshold)

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

2 participants