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

CGNX_AutoCalib Motion failure #1

Closed
clope031 opened this issue Mar 9, 2018 · 2 comments
Closed

CGNX_AutoCalib Motion failure #1

clope031 opened this issue Mar 9, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@clope031
Copy link
Member

clope031 commented Mar 9, 2018

I got a chance to test the CGNX_AutoCalib function today. As I could see, “Move2PointAndSettle” is used to move the robot to different positions during the calibration process and that function finally calls “Move P, targetPos”, which uses PTP interpolation.

Here comes the problem. My start position of the calibration process is as below in the picture. When it reached the last few steps of the calibration, i.e. rotating +/- 15 degrees, I would expect the traveling direction in Rz to be clockwise looking from the top (Rz from -2 to – 17). But instead, it traveled counter-clockwise (a rotation of 345 degrees) and resulted in an error state.

I tried replacing the interpolation method of the “Move” command by linear interpolation and it seemed to solve the problem.

What do you think?

@clope031
Copy link
Member Author

clope031 commented Mar 9, 2018

I picked PTP as the interpolation to avoid running into singularity. If Linear moves are preferable we can try to prevent it by using the Singularity Avoidance feature.

We can also edit the targetPos figure to a -3 or -2 which will pick the endFigure that results in the least joint movement.

Let me know if you have other questions.

@clope031 clope031 added the bug Something isn't working label Mar 9, 2018
@clope031 clope031 self-assigned this Mar 9, 2018
@clope031 clope031 changed the title CGNX_AutoCalib Error CGNX_AutoCalib Motion failure Mar 9, 2018
clope031 added a commit that referenced this issue Mar 19, 2018
- Fixing CGNX_AutoCalib motion failure option.
@clope031
Copy link
Member Author

Added fix on v1.6.24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant