Link类函数,基于DH法建模,建立其相关关系,DH法建模分改进型和标准型,Link类函数的一种用法是 R = Link([theta,d,a, alpha]),其中参数theta代表DH建模的关节角、参数d代表DH建模的连杆偏距、参数a代表DH建模的连杆长度、参数alpha代表DH建模的连杆转角。例如:L(1)=Link([1,2,3,4],‘modified’),其中modified表示用改进型DH法建模
Properties(read only)::
n number of joints
config joint configuration string, eg.'RRRRRR'
mdh kinematic convention boolean(0=DH,1=MDH)
theta kinematic: joint angles(1xN)
d kinematic: link offsets(1xN)
a kinematic: link lengths(1xN)
alpha kinematic: link twists(1xN)
Properties(read/write)::
links vector of Link objects(1xN)
gravity direction of gravity [gx gy gz]
base pose of robot's base(4x4 homog xform)
tool robot's tool transform, T6 to tool tip(4x4 homog xform)
qlim joint limits,[qmin qmax](Nx2)
offset kinematic joint coordinate offsets(Nx1)
name name of robot, used for graphical display
manuf annotation, manufacturer's name
comment annotation, general comment
plotopt options forplot()method(cell array)
fast use MEX version of RNE. Can only be set true if the mex
file exists. Default is true.
SerialLink Serial-link robot class
A concrete class that represents a serial-link arm-type robot. The
mechanism is described using Denavit-Hartenberg parameters, one set
per joint.
Methods::
plot display graphical representation of robot
plot3d display 3D graphical model of robot
teach drive the graphical robot
getpos get position of graphical robot
-
jtraj a joint space trajectory
-
edit display and edit kinematic and dynamic parameters
-
isspherical test if robot has spherical wrist
islimit test if robot at joint limit
isconfig test robot joint configuration
-
fkine forward kinematics
A link transforms
trchain forward kinematics as a chain of elementary transforms
-
ikine6s inverse kinematics for6-axis spherical wrist revolute robot
ikine inverse kinematics using iterative numerical method
ikunc inverse kinematics using optimisation
ikcon inverse kinematics using optimisation with joint limits
ikine_sym analytic inverse kinematics obtained symbolically
-
jacob0 Jacobian matrix in world frame
jacobn Jacobian matrix in tool frame
jacob_dot Jacobian derivative
maniplty manipulability
vellipse display velocity ellipsoid
fellipse display force ellipsoid
qmincon null space motion to centre joints between limits
-
accel joint acceleration
coriolis Coriolis joint force
dyn show dynamic properties of links
friction friction force
gravload gravity joint force
inertia joint inertia matrix
cinertia Cartesian inertia matrix
nofriction set friction parameters to zero
rne inverse dynamics
fdyn forward dynamics
-
payload add a payload in end-effector frame
perturb randomly perturb link dynamic parameters
gravjac gravity load and Jacobian
paycap payload capacity
pay payload effect
-
sym a symbolic version of the object
gencoords symbolic generalized coordinates
genforces symbolic generalized forces
issym test if object is symbolic
2、根据我们已经写好的DH参数表,使用上文介绍的Link类函数,来建立各个各个关节模型,在上文中已经介绍过了,Link类函数的一种用法是 R = Link([theta,d,a, alpha]),其中参数theta代表DH建模的关节角也就是对应下表中的第四列(θi列)、参数d代表DH建模的连杆偏距也就是对应下表中的第三列、参数a代表DH建模的连杆长度也就是对应下表中的第一列、参数alpha代表DH建模的连杆转角也就是对应下表中的第二列,我们将这三个关节分别取名为L(1)、L(2)、L(3)