WeldConstraint problem
Posted: Thu Aug 09, 2012 1:22 am
Hi to all.
I am having problem with the introduction of the WeldConstraint to my model. As I described previously (https://simtk.org/forums/viewtopic.php?f=91&t=3636), my model consists of a fixed skull (upper jaw) and the movable mandible (lower jaw). These two parts I want to connect with two temporomandibular joints (TMJ). Therefore, I get the close loop. The advice was to cut the mandible to two parts (jawL and jawR), each of them will be connected with its own TMJ and then, both parts of the jaw will be put together using the WeldConstraints. This I have done as follows:
<!--Constraints in the model.-->
<ConstraintSet name="">
<WeldConstraint name="">
<isDisabled> false </isDisabled>
<body_1> jawL </body_1>
<body_2> jawR </body_2>
<location_body_1> 0 0 0 </location_body_1>
<orientation_body_1> 0 0 0 </orientation_body_1>
<location_body_2> 0 0 0 </location_body_2>
<orientation_body_2> 0 0 0 </orientation_body_2>
</WeldConstraint>
<objects/>
<groups/>
</ConstraintSet>
I am not really sure, what <location_body_1> and <orientation_body_1> (as well as <location_body_2> and <orientation_body_2>) means. But like this, only the “jawR” to which the markers is connected (therefore the “jawR” is associated with the motion) moves (after running the Inverse Kinematics). No the left part. What is wrong?
Michala
I am having problem with the introduction of the WeldConstraint to my model. As I described previously (https://simtk.org/forums/viewtopic.php?f=91&t=3636), my model consists of a fixed skull (upper jaw) and the movable mandible (lower jaw). These two parts I want to connect with two temporomandibular joints (TMJ). Therefore, I get the close loop. The advice was to cut the mandible to two parts (jawL and jawR), each of them will be connected with its own TMJ and then, both parts of the jaw will be put together using the WeldConstraints. This I have done as follows:
<!--Constraints in the model.-->
<ConstraintSet name="">
<WeldConstraint name="">
<isDisabled> false </isDisabled>
<body_1> jawL </body_1>
<body_2> jawR </body_2>
<location_body_1> 0 0 0 </location_body_1>
<orientation_body_1> 0 0 0 </orientation_body_1>
<location_body_2> 0 0 0 </location_body_2>
<orientation_body_2> 0 0 0 </orientation_body_2>
</WeldConstraint>
<objects/>
<groups/>
</ConstraintSet>
I am not really sure, what <location_body_1> and <orientation_body_1> (as well as <location_body_2> and <orientation_body_2>) means. But like this, only the “jawR” to which the markers is connected (therefore the “jawR” is associated with the motion) moves (after running the Inverse Kinematics). No the left part. What is wrong?
Michala