I'm opening some model I used with previous version and on 2.0.1 i received this error:
Coordinate coupler: unknow dependent coordinate tib_tx_r
I think the error is related a costrain I added to the gait model with a function the define translation of tibia.... but i not understand ho w to fix it. Thank you
Andrea
This is the code:
<CoordinateCouplerConstraint name="knee_tx_r">
<isDisabled> false </isDisabled>
<coupled_coordinates_function>
<natCubicSpline name="">
<min_x> -1000000000000000000000000000000.00000000 </min_x>
<max_x> 1000000000000000000000000000000.00000000 </max_x>
<min_y> -1000000000000000000000000000000.00000000 </min_y>
<max_y> 1000000000000000000000000000000.00000000 </max_y>
<min_z> -1000000000000000000000000000000.00000000 </min_z>
<max_z> 1000000000000000000000000000000.00000000 </max_z>
<x> -2.09439510 -1.74532925 -1.39626340 -1.04719755 -0.69813170 -0.34906585 -0.17453293 0.19734422 0.33739496 0.49017757 1.52146027 2.09439510 </x>
<y> -0.00375610 0.00210107 0.00482424 0.00481249 0.00248841 -0.00117378 -0.00363871 -0.00613534 -0.00637949 -0.00654265 -0.00637949 -0.00616234 </y>
</natCubicSpline>
</coupled_coordinates_function>
<independent_coordinate_names> knee_angle_r </independent_coordinate_names>
<dependent_coordinate_name> tib_tx_r </dependent_coordinate_name>
</CoordinateCouplerConstraint>
error opening a model
- Ayman Habib
- Posts: 2244
- Joined: Fri Apr 01, 2005 12:24 pm
RE: error opening a model
Andrea,
It's hard to guess what's wrong with a model without having it!. Can you please submit a bug report and attach the model?
Thanks,
-Ayman
It's hard to guess what's wrong with a model without having it!. Can you please submit a bug report and attach the model?
Thanks,
-Ayman
- Andrea Morelli
- Posts: 89
- Joined: Thu Jan 24, 2008 1:10 pm
RE: error opening a model
You're right... I will look how to submit it.
Thank you
Andrea
RE: error opening a model
What is the difference between
CoordinateCouplerConstraint and TransformAxis?
In Andrea's question, the knee_tx_r is specified by a CoordinateCouplerConstraint but in other gait models, it is specified using TransformAxis.
So <TransformAxis name="translation1">
<function><NaturalCubicSpline name="">
<x> -2.09439510 -1.74532925 1.39626340 -1.04719755 0.69813170 0.34906585 -0.17453293 0.00000000 </x>
<y> -0.00320000 0.00179000 0.00411000 0.00410000 0.00212000 -0.00100000 -0.00310000 -0.00525000 </y>
</NaturalCubicSpline> </function>
<coordinates> r_knee_angle </coordinates><axis> 1.00000000 0.00000000 0.00000000 </axis></TransformAxis>
Can anyone kindly describe the pros and cons of using the two difference methods?
CoordinateCouplerConstraint and TransformAxis?
In Andrea's question, the knee_tx_r is specified by a CoordinateCouplerConstraint but in other gait models, it is specified using TransformAxis.
So <TransformAxis name="translation1">
<function><NaturalCubicSpline name="">
<x> -2.09439510 -1.74532925 1.39626340 -1.04719755 0.69813170 0.34906585 -0.17453293 0.00000000 </x>
<y> -0.00320000 0.00179000 0.00411000 0.00410000 0.00212000 -0.00100000 -0.00310000 -0.00525000 </y>
</NaturalCubicSpline> </function>
<coordinates> r_knee_angle </coordinates><axis> 1.00000000 0.00000000 0.00000000 </axis></TransformAxis>
Can anyone kindly describe the pros and cons of using the two difference methods?