Coupler Coordinate Constraints implementation
Posted: Fri Feb 25, 2022 6:54 pm
Greetings,
I am trying to constraints two coordinates, let's say q1 and q2. I want this relationship q2 = -q1, however, I always end up with q2 = q1. Please look below to the code implementation:
Can anyone help me with this?
I am trying to constraints two coordinates, let's say q1 and q2. I want this relationship q2 = -q1, however, I always end up with q2 = q1. Please look below to the code implementation:
Code: Select all
<CoordinateCouplerConstraint name="q1_q2_con">
<isEnforced>true</isEnforced>
<coupled_coordinates_function>
<SimmSpline name="f22">
<x>0 1</x>
<y>0 -1</y>
</SimmSpline>
</coupled_coordinates_function>
<independent_coordinate_names>q1</independent_coordinate_names>
<dependent_coordinate_name>q2</dependent_coordinate_name>
<scale_factor>1</scale_factor>
</CoordinateCouplerConstraint>