LinkageDesigner Package Paclet SymbolSee Also »|More About »

T2

T2[i->j, pi, pj]
function defines a list of input arguments of DefineKinematicPair function for planar translational joint definition.
  • The kinematic pair is defined between i and j links where i and j are integers or strings.
  • If i (j) is integer the link name is generated as "linki" ("linkj") respectively.
  • The joint markers are defined with pi and pj .
  • If pi is defined as one number ( e.g. 3) its resolved to o:{3,0,0}, z:{1,0,0}, which means that the joint markers origin is placed to the {3,0,0} point and the direction of z-axis is {1,0,0} w.r.t to LLRF of linki.
  • If pi is defined as list of two number ( e.g. {3,2}) its resolved to o:{3,2,0}, z:{1,0,0}, which means that the joint markers origin is placed to the {3,2,0} point and the direction of z-axis is {1,0,0} w.r.t to LLRF of linki.
  • If pi is defined as list of three number ( e.g. {3,2,15°}) its resolved to o:{3,2,0}, z:{Cos[15°],Sin[15°],0}, which means that the joint markers origin is placed to the {3,2,0} point and the direction of z-axis is {Cos[15°],Sin[15°],0} w.r.t to LLRF of linki.
  • The coordinate list {x,y,angle} defines the position and orientation of the translational joint w.r.t local reference frame of i or j link respectively.
  • angle specifies a rotation of x-axis around the z-axis.
  • T2 function is a utility function that simplifies the kinematic pair definition process.
  • The following options can be given:
JointVariableAutomaticspecifies the symbol of the joint variable.
JointNameAutomaticspecifies the name of the kinematic pair.
JointLimitsAutomaticdefines the validity domain of the joint variable(s).
JointPoseAutomaticdefines the offset value(s) of the joint variable(s).
Parameters{}List of the simple parameters used in the kinematic pair's definition ( e.g {l0→10,l1→3} ).
CandidateLoopVariablesAutomaticList of driving variable that will be used as loop variables in case of loop closing kinematic pair definition.
WorkingPrecisionMachinePrecisionWorkingPrecision is an option for various numerical operations which specifies how many digits of precision should be maintained in internal computations.
AccuracyGoalAutomaticAccuracyGoal is an option for various numerical operations which specifies how many effective digits of accuracy should be sought in the final result.
MaxIterationsAutomaticMaxIterations is an option that specifies the maximum number of iterations that should be tried in various built-in functions and algorithms.
Load the LinkageDesigner package
In[1]:=
Click for copyable input
Define the a translational joint between link0 and link1 .
The center of the joint w.r.t link0 is {3, 3}, while the axis of the joint has 15 ° w.r.t x axis of the link0 .
The axis of the translational joint w.r.t link1 has 0° relative to the x axis of the local reference frame.
Click for copyable input
Calculate the arguments of the kinematic pair definition
In[2]:=
Click for copyable input
Out[2]=
Define the linkage
In[3]:=
Click for copyable input
Out[3]=
Show the kinematic graph of the linkage
In[4]:=
Click for copyable input
Out[4]=
Display the linkage
In[5]:=
Click for copyable input
Out[5]=