SwitchJointDirection

SwitchJointDirection[linkage, str]
switches the direction of the joint defined in str $LDLowOrderJoint record.
SwitchJointDirection[linkage, {str1, str2...}]
switches the direction of the joints defined in {str1, str2...} $LDLowOrderJoint records.
SwitchJointDirection[linkage, var]
switches the direction of the joint defined by var symbol.
SwitchJointDirection[linkage, {var1, ..}]
switches the direction of joints defined by {var1,..} symbols.
  • The input LinkageData database is copied and the updated records are stored in this copied LinkageData database. The function returns the copied LinkageData.
  • The function rotates of the joint marker to the opposite direction, which changes direction the positive rotational and translational direction
  • Posture of the linkage before and after switching the joint direction.
  • Only those joint direction can be changed whose joint variable is independent DrivingVariable.
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the manipulator linkage
In[2]:=
Click for copyable input
Out[2]=
Animate the mechanism from =0 to =90°
In[3]:=
Click for copyable input
Out[3]=
Switch the direction of joint defined with variable
In[4]:=
Click for copyable input
Out[4]=
Animate the mechanism from =0 to =90°
In[5]:=
Click for copyable input
Out[5]=