writen by wqj1212
Robotics Toolbox  transl jtraj ctraj函数介绍函数命:transl
Robotics Toolbox  transl jtraj ctraj函数介绍Purpose: translation transformation
Robotics Toolbox  transl jtraj ctraj函数介绍Synopsis:  T
=transl(x,y,z)
Robotics Toolbox  transl jtraj ctraj函数介绍           T
=transl(v)
Robotics Toolbox  transl jtraj ctraj函数介绍           v
=Transl(T)
Robotics Toolbox  transl jtraj ctraj函数介绍           xyz
=transl(TC)
Robotics Toolbox  transl jtraj ctraj函数介绍Description;
Robotics Toolbox  transl jtraj ctraj函数介绍The first two forms 
return a homogeneous transformation representing a translation expressed as 
Robotics Toolbox  transl jtraj ctraj函数介绍three scalar x,y and z,Or a Cartesian vector v
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍The third form returns the translation part of a homogeneous transform 
as a 3-element column vector
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍The forth form returns a matrix whose columns are the X,Y and Z columns pf the 4x4xm Cartesian trajectory matrix Tc
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍函数命:ctraj
Robotics Toolbox  transl jtraj ctraj函数介绍Purpose : Compute a Cartesian trajectory between  two points
Robotics Toolbox  transl jtraj ctraj函数介绍Synopsis:   TC 
= ctraj(T0, T1, m)
Robotics Toolbox  transl jtraj ctraj函数介绍            TC 
= ctraj(T0, T1, r)
Robotics Toolbox  transl jtraj ctraj函数介绍Description:
Robotics Toolbox  transl jtraj ctraj函数介绍 ctraj returns a Cartesian trajectory (straight line motion) TC from the point represented by
Robotics Toolbox  transl jtraj ctraj函数介绍homogeneous transform T0 to T1. The number of points along the path 
is m or the length of
Robotics Toolbox  transl jtraj ctraj函数介绍the given vector ector r. For  the second 
case r is a vector  of distances along the path (in the range
Robotics Toolbox  transl jtraj ctraj函数介绍
0 to 1for each point. The first case has the points equally spaced, but different  spacing may
Robotics Toolbox  transl jtraj ctraj函数介绍be specified to  achieve acceptable acceleration  profile.  TC 
is a 4×4×m matrix. 
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍函数命:jtraj
Robotics Toolbox  transl jtraj ctraj函数介绍Purpose:    Compute a joint space trajectory between two joint coordinate poses
Robotics Toolbox  transl jtraj ctraj函数介绍Synopsis :   [q qd qdd] 
= jtraj(q0, q1, n)
Robotics Toolbox  transl jtraj ctraj函数介绍             [q qd qdd] 
= jtraj(q0, q1, n, qd0, qd1)
Robotics Toolbox  transl jtraj ctraj函数介绍             [q qd qdd] 
= jtraj(q0, q1, t)
Robotics Toolbox  transl jtraj ctraj函数介绍             [q qd qdd] 
= jtraj(q0, q1, t, qd0, qd1)
Robotics Toolbox  transl jtraj ctraj函数介绍Description :
Robotics Toolbox  transl jtraj ctraj函数介绍jtraj returns a joint space trajectory q from joint coordinates q0 to q1. The number of points 
is n
Robotics Toolbox  transl jtraj ctraj函数介绍or the length of the  given time vector t. A 7th order polynomial 
is used with  default ault zero boundary
Robotics Toolbox  transl jtraj ctraj函数介绍conditions 
for velocity  and acceleration.
Robotics Toolbox  transl jtraj ctraj函数介绍Non
-zero boundary velocities  can be optionally  specified as qd0 and qd1.
Robotics Toolbox  transl jtraj ctraj函数介绍The trajectory 
is a matrix, with one  row per time step, and one column per joint. The function can
Robotics Toolbox  transl jtraj ctraj函数介绍optionally 
return a velocity and acceleration trajectories as qd and qdd respecti respectively .
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍Examples To create a Cartesian path with smooth acceleration we can use the jtraj function to create
Robotics Toolbox  transl jtraj ctraj函数介绍the path vector ector r with continuous derivitives. 
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
>> T0 = transl([0 0 0]); T1 = transl([-1 2 1]);
Robotics Toolbox  transl jtraj ctraj函数介绍
>> t= [0:0.056:10];
Robotics Toolbox  transl jtraj ctraj函数介绍
>> r = jtraj(01, t);
Robotics Toolbox  transl jtraj ctraj函数介绍
>> TC = ctraj(T0, T1, r);
Robotics Toolbox  transl jtraj ctraj函数介绍
>> plot(t, transl(TC));
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍
Robotics Toolbox  transl jtraj ctraj函数介绍

相关文章:

  • 2022-12-23
  • 2021-09-18
  • 2022-01-09
  • 2021-05-26
  • 2022-12-23
  • 2021-12-01
  • 2021-10-06
  • 2021-12-24
猜你喜欢
  • 2021-09-21
  • 2022-03-06
  • 2021-06-23
  • 2021-05-05
  • 2021-04-13
相关资源
相似解决方案