SCARA hand region issues
- Niko
- Offline
- Premium Member
-
- Posts: 155
- Thank you received: 5
I just put together the control for an epson scara arm .
After tuning the servos and home procedure in MDI I can't move past a point .
The arm is not physically limited in any way , there's plenty of travel , but it wont go past that point .
I raised the max and min travel to very large numbers and the problem persists .
Axis returns following error on all the joints involved in the move . That is joint 0, 1 and 3 .
Looking forward to any ideas .
Cheers
Nikolai
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23279
- Thank you received: 4933
The axis limits are rectangular, but the joint limits are not. Perhaps this is the problem?
Please Log in or Create an account to join the conversation.
- Niko
- Offline
- Premium Member
-
- Posts: 155
- Thank you received: 5
So max limit and min limit correspond to X Y Z limits and not joint limits ?
The joints are set as angular so I expected them to be degrees of freedom .
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23279
- Thank you received: 4933
I'll check the version tomorrow . Should be 2.7.8
So max limit and min limit correspond to X Y Z limits and not joint limits ?
I am not sure with 2.7.8. With 2.8 there are separate limits for both joints and axes (but the axis limits are still a cuboid)
That's probably right. Did you check for any limits applied in the kinematics?The joints are set as angular so I expected them to be degrees of freedom .
Please Log in or Create an account to join the conversation.
- Niko
- Offline
- Premium Member
-
- Posts: 155
- Thank you received: 5
Where can I get 2.8 from ?
Max and min limit in INI are set to more than a meter (twice the length of the arm).
Where can I check the limits in the kinematics ?
Other than hal and ini I'm pretty clueless .
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23279
- Thank you received: 4933
You should update to 2.7.8, though it won't help here.It's 2.7.0
Currently from buildbot.linuxcnc.org, though it might not help with your problem it will give you a system better-suited to robots.Where can I get 2.8 from ?
That would be in the scarkins code:Where can I check the limits in the kinematics ?
Other than hal and ini I'm pretty clueless .
github.com/LinuxCNC/linuxcnc/blob/master...nematics/scarakins.c
Possibly the acos in the inverse kins always returns an angle < 90?
Please Log in or Create an account to join the conversation.
- Niko
- Offline
- Premium Member
-
- Posts: 155
- Thank you received: 5
It works but in a rather weird fashion . As a joint Z works fine but when I switch to real world position it switches direction .
Is there any logic to debugging nonlinearity in straight moves ?
I've already checked the lengths and encoder count rates and still get a slight curve .
P.S. in MDI linear moves on x or y result in "linear move on line 0 would exceed joint z positive limit".
And the point which limits it is at 90 degrees between arms .
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23279
- Thank you received: 4933
Please Log in or Create an account to join the conversation.
- Niko
- Offline
- Premium Member
-
- Posts: 155
- Thank you received: 5
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23279
- Thank you received: 4933
Please Log in or Create an account to join the conversation.