[robot]Forward-Kinematics

来源:互联网 发布:企业工单管理系统源码 编辑:程序博客网 时间:2024/06/16 00:15

Forward Kinematics

degree of freedom

universal join 万向节

universal-joint

grubler’s criterion

F=λ(nj1)+i=1jfi

where, F is number of DOF,
n is number of links,
j is number of joints ,
λ is number of DOF in the space.
fi is number of DOF permitted by joint ji.

对于万向节而言, n为3, j 为2, λ 为6,
j1 为 1, j2 为1
所以万向节的自由度为2.

constrain formulation

constrain-formulation

example

3-DOF

2-DOF

exercise

01

02

00

Forward Kinematics and DH

Forward Kinematics is used to find the position of end effect.

00

00

DH Parameters

00

00

00

00

00

00

DH relies mainly on the X and Z frames
00

00

ai is distance between zi1 and zi along xi1.

αi is angle from zi1 to zi along xi1.

di is distance between planexi1yi1 to plane xiyi along zi1

θ is angle about previous zi1, from xi1tonew x_{i}$.

xi 始终垂直并与zi相交.

DH 参数只由x,z轴确定。

exercise

oo

00

00

00

00

02

09

05

98

57823

6523

5637

function A = compute_dh_matrix(a, alpha, d, theta)ctheta = cos(theta);stheta = sin(theta);salpha = sin(alpha);calpha = cos(alpha);A = [ctheta, -stheta*calpha, stheta*salpha, a*ctheta;    stheta, ctheta*calpha, -ctheta*salpha, a*stheta;    0,salpha, calpha,d;    0,0,0,1];end
0 0