M-File Help: ctraj | View code for ctraj |
Cartesian trajectory between two points
tc = ctraj(T0, T1, n) is a Cartesian trajectory (4x4xN) from pose T0 to T1 with n points that follow a trapezoidal velocity profile along the path. The Cartesian trajectory is a homogeneous transform sequence and the last subscript being the point index, that is, T(:,:,i) is the i'th point along the path.
tc = ctraj(T0, T1, s) as above but the elements of s (Nx1) specify the fractional distance along the path, and these values are in the range [0 1]. The i'th point corresponds to a distance s(i) along the path.
lspb, mstraj, trinterp, Quaternion.interp, transl
© 1990-2012 Peter Corke.