Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Matlab toolbox equivalent functions#400

Answeredbyvla-gove
zdreams asked this question inQ&A
Discussion options

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

You must be logged in to vote

This has been answered by@petercorke atLinear Trajectory:

  • trapveltraj maps totrapezoidal
  • rottraj can be handled by theinterp method ofUnitQuaternion orSO3
  • transformtraj can be handled by theinterp method ofSE3 orTwist3, or thectraj function.

Originally posted by@petercorke in#262 (comment)

Replies: 1 comment

Comment options

This has been answered by@petercorke atLinear Trajectory:

  • trapveltraj maps totrapezoidal
  • rottraj can be handled by theinterp method ofUnitQuaternion orSO3
  • transformtraj can be handled by theinterp method ofSE3 orTwist3, or thectraj function.

Originally posted by@petercorke in#262 (comment)

You must be logged in to vote
0 replies
Answer selected byzdreams
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@zdreams@vla-gove

[8]ページ先頭

©2009-2025 Movatter.jp