GetLLRFMatrix

GetLLRFMatrix[linkage, linki]
returns the homogeneous transformation matrix, that transform linki's LLRF to the reference coordinate system.
  • The reference coordinate system is defined with the ReferenceFrame option. By default it is the LLRF of the Ground link.
  • The reference coordinate system is the LLRF of the reference link.
optiondefault valuedescription
ReferenceFrame"Ground"Defines the reference link' s name (either with full name or stripped name)
SubstituteParametersFalseSpecifies whether the parameters of the linkage to be substituted
SubstitutionList{}Specifies the precalculated parameter substitution list to be used instead of the actual parameter values
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the predefined piston linkage
In[2]:=
Click for copyable input
Here are the links of the crank-slider linkage
In[3]:=
Click for copyable input
Out[3]=
Get the transformation matrix, which transforms the "Crank" link's LLRF to the "Slider" link's LLRF
In[4]:=
Click for copyable input
Out[4]//MatrixForm=
Get the transformation matrix, which transforms the "Slider" link's LLRF to the "Crank" link's LLRF
In[5]:=
Click for copyable input
Out[5]//MatrixForm=
The two matrix are the inverse of each other.
In[6]:=
Click for copyable input
Out[6]//MatrixForm=
Get the transformation matrix of the "Slider" link w.r.t "Crank" with SubstituteParameters→True options
In[7]:=
Click for copyable input
Out[7]//MatrixForm=