-
Notifications
You must be signed in to change notification settings - Fork 31
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
joint controlled with AMO boards used as incremental encoder #428
Comments
@AntonioConsilvio would be very helpful if you could log the encoder and motor position while this phenomenon occurs. |
After all the analysis done here: https://github.com/icub-tech-iit/study-encoders/issues/37 and in other issues collected in this epic: https://github.com/icub-tech-iit/study-encoders/issues/21 we can say that during normal uses cases of the ergoCub robot the AMO encoder should never read random values otherwise there are some problems that we have for now identified in the following points:
cc: @valegagge |
Description
We noticed it on the left pitch and roll shoulder in ergoCub1.1 S/N:001. The two joints are controlled in position and after a while even if there aren't any position commands the joint goes toward an HW limit. While moving the AMO reading seems to be blocked.
Sometimes the joint doesn't reach the HW limit, but it remains quite far from the previous position while reading a similar angular position.
Hypothesis
The AMO stops reading for some reason and the PID to reduce the error from the setpoint and the current position generates a PWM that moves the joint trying to reduce the error, but since the AMO is stuck to a fixed value, the error remains constant and the motor keeps moving.
Possible reasons:
The text was updated successfully, but these errors were encountered: