WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I am trying to map a robot manipulator's trajectory. Using Matlab toolbox I can use something like this (taken from the official blog):
T0 = trvec2tform([0 0 0]);
Tf = trvec2tform([1 2 3])*eul2tform([pi/2 0 pi/4],'ZYX');
tTimes = linspace(0,1,51);
tInterval = [0 5];
[s,sd,sdd] = trapveltraj([0 1],numel(tTimes));
[T,dT,ddT] = transformtraj(T0,Tf,tInterval,tTimes,'TimeScaling',[s;sd;sdd]);
plotTransforms(tform2trvec(T),tform2quat(T));
I am unfamiliar the equivalent trajectory functions in the Py toolbox. Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
This has been answered by @petercorke at Linear Trajectory:
trapveltrajmaps totrapezoidalrottrajcan be handled by theinterpmethod ofUnitQuaternionorSO3transformtrajcan be handled by theinterpmethod ofSE3orTwist3, or thectrajfunction.Originally posted by @petercorke in #262 (comment)