Kinematics... again:/

More
9 years 5 months ago #93106 by Boogie
Replied by Boogie on topic Kinematics... again:/
Ok, but where is LinuxCNC v.2.8? On linuxcnc.org the highest number is 2.7.8
Here is info on 2.7.8 version but no LiveCD ISO source:

linuxcnc.org/2016/11/09/LinuxCNC-2.7.8/

LiveCD ISO source is for 2.7 Wheezy:

linuxcnc.org/docs/2.7/html/getting-start...etting-linuxcnc.html

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #93108 by Todd Zuercher
Replied by Todd Zuercher on topic Kinematics... again:/
2.8 is currently the development branch of Linuxcnc (aka Master). You can get it from buildbot by adding the appropriate repository references found here.
buildbot.linuxcnc.org/
The following user(s) said Thank You: Boogie

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #93129 by bkt
Replied by bkt on topic Kinematics... again:/
@Boogie Sorry But I see robokins.c file ... not the same as robot that I see on video ....
this ...
Code:
world->d = joint[6]; and world->d = joint[6];
is a simplistic way of communicating that you need to add a linear axis to the kinematic .... The correct letters to use are those listed by Boogie ... in that case you have to review the other ones as well.

I did not realize that you had your already pretty ready kinematics.

In this case the problem is just connecting the kinematic to Hal file?
Did I explain the mystery? My English I know I'm terrible ... but I'm able to build different kind of machines .... so sometimes I let myself go in .... for me it is study.

After these ... You can share your kins?

In the past I use correctly delta robot and scara kins with Lcnc 2.5 (not ja) ... JA is more flexible and It has more features for robots and unusual kins .... It is highly recommended to use it ... indeed it is necessary ... but it does not solve all the problems for connect cutomkins to Lcnc hal file.
I try to be clearer .... if you have problems connecting between customkins and hal files .... changing versions those remain. ... I would say that the greatest advantage is the separation between joints and axes. That said, you should still be able to connect customkins to hal files.

Regards
Giorgio
Last edit: 9 years 5 months ago by bkt.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #93132 by andypugh
Replied by andypugh on topic Kinematics... again:/
The kins already has a linear joint, joint_0.
Code:
x = joint[0] - D3*sin(a4); y = D1*sin(a1) + D2*sin(a2) + D3*sin(a3); z = D1*cos(a1) + D2*cos(a2) + D3*(cos(a3)*cos(a4)); a = a3; *iflags = 0; if (joint[2] < 90) *iflags = 1; world->tran.x = x; world->tran.y = y; world->tran.z = z; world->a = a * 180 / PM_PI; world->b = joint[4]; world->c = joint[5];

The x-position is made up of the linear joint[0] modified by the angle of the welding head, a4 according to the length of the end-effector, D3.

robokins.c is the actual kinematics from the video. I helped Visteurs write the kinematics.
The following user(s) said Thank You: Boogie

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #93149 by bkt
Replied by bkt on topic Kinematics... again:/
you are in right ,,,, my mistake ... I saw an anthropomorphic robot and I thought I had all 6 axes. I thought there were 7 in everything.
after better reading kins... and better see the video .... I realize it is a scara, modified... I Make a nasty foul.

regards
giorgio
Last edit: 9 years 5 months ago by bkt.
The following user(s) said Thank You: Boogie

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #93214 by Boogie
Replied by Boogie on topic Kinematics... again:/
there are still many mysteries. Some are solved some still waiting to be solved. To understand how this kinematics work i drew some sketches.


First joints (joint 0, joint 1 and joint 2) are easy and well described for me as well as arm lenght D1 and elbow lenght D2. Joint 1 angle (A1) is easy too. Angle 0 means arm D1 is pointing upward as cartesian Z axis. Joint 2 angle (A2) is bit tricky to draw because it is described as:


joint[2] = Outer arm rotates around a horizontal axis at its inner end
which is attached to the outer end of the inner arm. A
value of zero means the outer arm is parallel to the
inner arm (and extending outward).


but later in C code a2 is denoted as a sum of a1 and a2.
D2 is self explainatory.

And now the harder part:


joint[3] = End effector rotates around horizontal axis, that is
parallel to previous rotation axis and also X axis.
A value of zero means that the tooltip (if offset from the axis)
is pointing in the same direction as the centerline of the outer arm.


Is centerline of the outer arm (elbow) correctly drawn in blue dashed line? what does it mean: "if offset from the axis"? in what direction? How to draw it? Is it Offset1 in my drawing below?


closer view:

Above: joint 3 in blue reloves aroud axis parallel to cartesian X axis. Joint 4 in orange revoles aroud axis parallel to cartesian Y axis.
A value of zero means that the tooltip (if offset from the axis)
is pointing in the same direction as the centerline of the outer arm.
Does above tekst mean the situation in the drawing below:

In fact Offset2 is D3 in robokins.c, right?

What if i use i.e. milling router instead of welding head. I will need change tool offsets (D3 parameters) for different bits. Is kinematics we are talking about here ready for it. D3 is fixed in INI file. Can it be changed 'on the fly' when tool change in G-code is needed?

What about Offset1 in my drawings? Is this distance matter assuming tha angle of joint3 always set the tool perpendicular to Y axis?
Attachments:
Last edit: 9 years 5 months ago by Boogie.

Please Log in or Create an account to join the conversation.

Time to create page: 0.436 seconds
Powered by Kunena Forum