SetJointLimitTo

SetJointLimitTo[linkage, var, {min, max}]
function sets the joint limit valuse for var joint's variable to minvarmax.
SetJointLimitTo[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 substitued.
SetJointLimitTo[linkage, {v1, v2..}, {min, max}]
set the joint limits for joint variables {v1, v2..}.
SetJointLimitTo[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. Tis boolen expression should be evaluated to True or False if numerical values of the linkage's variables are substitued.
  • SetJointLimitTo function updates the linkage record and returns the updated $LDLoworderJoint record.
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the excavacor 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 the linkage LinkageData
In[5]:=
Click for copyable input
Out[5]=
Set the driving variables value 1->-0.1 with option JointLimitCheck→True
In[6]:=
Click for copyable input
Out[6]=
List the actual value of the DrivingVariables
In[7]:=
Click for copyable input
Out[7]=