$LDDrivingVariables

Record identifier of LinkageData. Stores the independent kinematic variables of the linkage
  • $LDDrivingVariables record is a list of Rule. The left side of the rule is the symbol of the variable, while the right side is the current value of the variable. Example: {q1→ 12, q2}
  • The number of driving variables is equal with the mobility of the mechanism.
  • The driving variables define the pose of the linkage. By changing the value of the driving variable the linkage can be animated.
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the predefined 4-bar linkages
In[2]:=
Click for copyable input
Out[2]=
List the driving variables of linkage1 mechanism
In[3]:=
Click for copyable input
Out[3]=
Dynamically change the driving variables and display the linkage
In[4]:=
Click for copyable input