error opening a model

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Andrea Morelli
Posts: 89
Joined: Thu Jan 24, 2008 1:10 pm

error opening a model

Post by Andrea Morelli » Fri Feb 19, 2010 12:55 pm

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>

User avatar
Ayman Habib
Posts: 2235
Joined: Fri Apr 01, 2005 12:24 pm

RE: error opening a model

Post by Ayman Habib » Fri Feb 19, 2010 1:16 pm

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

User avatar
Andrea Morelli
Posts: 89
Joined: Thu Jan 24, 2008 1:10 pm

RE: error opening a model

Post by Andrea Morelli » Fri Feb 19, 2010 1:30 pm

:-)
You're right... I will look how to submit it.
Thank you
Andrea

User avatar
Kang Li
Posts: 59
Joined: Tue Dec 11, 2007 8:36 am

RE: error opening a model

Post by Kang Li » Thu Mar 18, 2010 6:02 pm

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?

POST REPLY