model is sinking during RRA and CMC

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
abeer mohamed
Posts: 41
Joined: Mon Mar 07, 2011 10:38 am

model is sinking during RRA and CMC

Post by abeer mohamed » Tue Mar 18, 2014 10:00 am

Hello
I’m using Lee-son toolbox to convert my vicon files. However, when I view my static and dynamic, trc and mot files in GUI, my trc model stand outside the plate (apply gait2392 model) and the same happen with my mot file, the model walks also outside the plate.
I also have some issues with creating my grf.xml file. We are using 6 force plates so the feet strike 3 force plates per trial which means that I have 3 external forces. first, I figure from the mot file which force plate has been striked by which foot (right or left foot) and based on this info I start create my external forces, for example if the right foot strike plate 1, left foot strike plate 3, and right foot strike plate 5, then for my first external force (Right_GRF) I check "ground_force_vx1" , "ground_force_px1", and "ground_torque_x1". for second external force (Left_GRF) I check ground_force_vx3" , "ground_force_px3", and "ground_torque_x3". For third external force (Right_GRF) I check ground_force_vx5" , "ground_force_px5", and "ground_torque_x5". After creating my grf.xml file, I compare it with the OpenSim subject01_walk_grf.xml, I found that both file are identical until describing the external force then the both file are completely different. As shown below, I copy and paste one part of each file to show the difference. I assume this why my model is sinking when I apply RRA and CMC.
Thanks
Abeer

my GRF.XML file

“”> -<PrescribedForce name="ExternalForce_1">
<!--Name of the body the force is applied to.-->
<body> calcn_r </body>
<!--Flag indicating whether the point (specified in pointFunctions) is in global frame-->
<pointIsGlobal> false </pointIsGlobal>
<!--Flag indicating whether the quantities (specified in force/torqueFunctions) is in global frame-->
<forceIsGlobal> true </forceIsGlobal>
<!--Three functions describing the force to be applied.-->
-<FunctionSet name="forceFunctions"> -<objects> -<NaturalCubicSpline name="3_ground_force_vx"> <x> 2.01000000 2.02000000 2.03000000 2.04000000 2.05000000 2.06000000 2.07000000 2.08000000 2.09000000 2.10000000 </x> <y> 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 </y> </NaturalCubicSpline> -<NaturalCubicSpline name="3_ground_force_vy"> <x> 2.01000000 2.02000000 2.03000000 2.04000000 2.05000000 2.06000000 2.07000000 2.08000000 2.09000000 2.10000000 </x> <y> 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 </y> </NaturalCubicSpline> -<NaturalCubicSpline name="3_ground_force_vz"> <x> 2.01000000 2.02000000 2.03000000 2.04000000 2.05000000 2.06000000 2.07000000 2.08000000 2.09000000 2.10000000 </x> <y> -0.00000000 -0.00000000 -0.00000000 -0.00000000 -0.00000000 -0.00000000 -0.00000000 -0.00000000 -0.00000000 -0.00000000 </y> </NaturalCubicSpline>””


Subject01_walk_grf.xml

“”-<objects>
-<PrescribedForce name="ExternalForce_1">
<!--Name of the body the force is applied to.-->
<body> calcn_r </body>
<!--Flag indicating whether the point (specified in pointFunctions) is in global frame-->
<pointIsGlobal> false </pointIsGlobal>
<!--Flag indicating whether the quantities (specified in force/torqueFunctions) is in global frame-->
<forceIsGlobal> true </forceIsGlobal>
<!--Three functions describing the force to be applied.-->
-<FunctionSet name="forceFunctions"> -<objects> -<GCVSpline name="#1">
<half_order> 0 </half_order> <error_variance> 0.00000000000000000000 </error_variance> <x> </x> <y> </y> <weights> </weights> <coefficients> </coefficients> </GCVSpline>
-<GCVSpline name="#2">
<half_order> 0 </half_order> <error_variance> 0.00000000000000000000 </error_variance> <x> </x> <y> </y> <weights> </weights> <coefficients> </coefficients> </GCVSpline>
-<GCVSpline name="#3">
<half_order> 0 </half_order> <error_variance> 0.00000000000000000000 </error_variance> <x> </x>””

User avatar
abeer mohamed
Posts: 41
Joined: Mon Mar 07, 2011 10:38 am

Re: model is sinking during RRA and CMC

Post by abeer mohamed » Wed Mar 19, 2014 12:51 pm

Hello

I found a this under RRA troubleshooting


"'''If RRA is failing, try increasing the maximum excitation for residuals by orders of magnitude until the simulation runs, then try working your way back down while also "relaxing" tracking weights on coordinates.""""

however my question is in which OpenSim file can I adjust the maximum excitation for residual.
thanks
abeer

User avatar
abeer mohamed
Posts: 41
Joined: Mon Mar 07, 2011 10:38 am

Re: model is sinking during RRA and CMC

Post by abeer mohamed » Fri Mar 21, 2014 12:23 pm

Hi
my model stop sinking after I add CMC_actuator to RRA_actuatort in "the addational force set file" window. however my average residule after adjusting torso are all small values except FY which is 984.99. I do not know if applying both actuator files is right or wrong, but the model walks fine.
thanks
abeer
thanks

User avatar
LEE JUSUNG
Posts: 9
Joined: Mon Nov 28, 2016 10:53 pm

Re: model is sinking during RRA and CMC

Post by LEE JUSUNG » Sun Jan 12, 2020 7:48 pm

Dear Abeer.

Hello. I have the same problem with the modifed 2392 model from the lunge study.
Can you tell me more about how you solved it? I can't under stand " I add CMC_actuator to RRA_actuatort in "the addational force set file" window"

Your cooperation would be highly appreciate. thanks.

Jusung Lee

POST REPLY