Page 1 of 1

Kinematic Constraints for Two Independent Coordinates

Posted: Wed Jun 06, 2018 1:28 pm
by russh26
I have seen that OpenSim 4.0 beta allows coordinate coupling using more than on independent coordinates, which would greatly help my current model. However, I am a bit confused about the proper syntax to define the coupled coordinate function.

For example in the XML, if I had

<coupled_coordinates_function>
<SimmSpline>
<x> 0 0.5 1</x>
<y> 0 1 2</y>
</SimmSpline>
</coupled_coordinates_function>

<independent_coordinate_names> InCoord1 InCoord2</independent_coordinate_names>

<dependent_coordinate_name> depenCoord </dependent_coordinate_name>

How should I edit my function so that I could have it defined with two different coordinates?