LinkageDesigner Paclet SymbolMore About »

SetJointLimit

SetJointLimit[linkage, var, {min, max}]
function sets the joint limit values for var joint's variable to minvarmax.
SetJointLimit[linkage, var, expr]
function sets the joint limit values for var joint's variable to expr expression. expr must contains var variable and evaluate to True or False if the linkage's parameters are substitute.
SetJointLimit[linkage, {v1, v2..}, {min, max}]
set the joint limits for joint variables {v1, v2..}.
SetJointLimit[linkage, jname, {min, max}]
function sets the joint limit for all joint variables defined in jname $LDLowOrderJoint joint record.
  • Joint limit in general case can be defined with a complex boolean expression. This boolen expression should be evaluated to True or False if numerical values of the linkage's variables are substitute.
  • SetJointLimit function returns a copied LinkageData database, with the updated joint limit.
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the excavator linkage
In[2]:=
Click for copyable input
Out[2]=
Get the limits of 1 variable
In[3]:=
Click for copyable input
Out[3]=
Change the limit of 1 variable
In[4]:=
Click for copyable input
Out[4]=
Get the limit of 1 variable from ret LinkageData
In[5]:=
Click for copyable input
Out[5]=
Get the limit of 1 variable from the original linkage LinkageData
In[6]:=
Click for copyable input
Out[6]=
Set the driving variables value 1->-0.1 with option JointLimitCheck→True
In[7]:=
Click for copyable input
Out[7]=
In[8]:=
Click for copyable input
Out[8]=