[[tforms,,,,vel,,,,ACC] = transformtraj(T0,,,,TF,,,,tInterval,,,,Tsamples)生成一个在两个4 x 4均匀转换之间插值的轨迹,T0andTF,,,,with points based on the time interval and given time samples.
初始转换,,,,specified as a 4-by-4 homogeneous transformation. The function generates a trajectory that starts at the initial transformation,T0,,,,and goes to the final transformation,TF。
数据类型:单身的|双倍的
TF-最终转型 4 x-4均匀转换
最终转换,指定为4 x-4均匀转换。该函数生成一个轨迹,该轨迹从初始转换开始,T0,,,,and goes to the final transformation,TF。
数据类型:单身的|双倍的
tInterval-Start and end times for trajectory two-element vector
该轨迹的开始和结束时间,在几秒钟内指定为两元素向量。
例子:[0 10]
数据类型:单身的|双倍的
Tsamples-Time samples for trajectory m- 元素矢量
轨迹的时间样本,指定为m- 元素向量为几秒钟。
例子:0:0.01:10
数据类型:单身的|双倍的
Tsamples-Time samples for trajectory m- 元素矢量
轨迹的时间样本,指定为m- 元素矢量。
例子:0:0.01:10
数据类型:单身的|双倍的
名称值参数
Specify optional pairs of arguments asname1 = value1,...,namen = valuen, 在哪里姓名是参数名称和Value相应的价值。名称-值参数must appear after other arguments, but the order of the pairs does not matter.
在R2021a之前,请使用逗号分隔每个名称和值,并附上姓名用引号。
例子:“时间标准”,[0 1 2;0 1 0;0 0 0]
时间标准-Time scaling vector and first two derivatives 3乘m向量
对于非线性时间缩放,将时间点的值指定为第一行中的米的位置。第二行和第三行是m/s和m/s的时间点的速度和加速度2,,,,respectively. For example, to follow the path with a linear velocity to the halfway point, and then jump to the end, the time-scaling would be: