Search found 22 matches

by Mouaad BOUFADNA
Tue Aug 25, 2020 4:38 am
Forum: OpenSim Moco
Topic: exempleSquattoSTand- Add external Load
Replies: 17
Views: 2202

Re: exempleSquattoSTand- Add external Load

Hi Chris After the last iteration i got this message : "EXIT: Converged to a point of local infeasibility. Problem may be infeasible. t_proc [s] t_wall [s] n_eval callback_fun 0.075 0.076 247 nlp 43.2 43.2 1 nlp_f 0.022 0.0206 299 nlp_g 4.66 4.66 299 nlp_grad_f 0.255 0.253 40 nlp_jac_g 32.9 32.9 249...
by Mouaad BOUFADNA
Mon Aug 24, 2020 7:16 am
Forum: OpenSim Moco
Topic: exempleSquattoSTand- Add external Load
Replies: 17
Views: 2202

Re: exempleSquattoSTand- Add external Load

Hi Nick Apologizes for the delay I was off during some weeks. Thank you for those corrections ! I tried to process Moco with this new model but MocoCasADiSolver didn't succeed and this very quickly (after 50 to 60 iterations). Under the failure message "MocoCasADiSolver did NOT succeed:" I have this...
by Mouaad BOUFADNA
Thu Jul 02, 2020 3:49 am
Forum: OpenSim Moco
Topic: exempleSquattoSTand- Add external Load
Replies: 17
Views: 2202

Re: exempleSquattoSTand- Add external Load

Hi Chris

In attachement my .osim file modified.

I thought maybe it's because I edited the barbell in Bodyset section and I shoud create it in an additionnal section ?

Thank you for helping

Mouaad
by Mouaad BOUFADNA
Tue Jun 30, 2020 8:55 am
Forum: OpenSim Moco
Topic: exempleSquattoSTand- Add external Load
Replies: 17
Views: 2202

Re: exempleSquattoSTand- Add external Load

Hi Chris I tried to edit the "2D_gait" model in the XML file with NotePad++ to add the barbell load, as explained in https://simtk-confluence.stanford.edu/display/OpenSim33/Example+-+Model+Editing But I am not able to open it anymore in Open Sim GUI with my modificatons. When I try to use the Edit -...
by Mouaad BOUFADNA
Tue Jun 23, 2020 4:00 am
Forum: OpenSim Moco
Topic: exampleSquatToStand- MocoPeriodicityGoal
Replies: 47
Views: 4811

Re: exampleSquatToStand- MocoPeriodicityGoal

Hi Nick I finally found what can be the main problem of my simulation. It comes from the fixed flexion axis of the knees in the 2D_gait.osim model of Umberger. Since this axis can only rotate on its own axis, others degrees of freedom are deleted. In the real desired motion, knees can have rotation ...
by Mouaad BOUFADNA
Mon Jun 22, 2020 8:31 am
Forum: OpenSim Moco
Topic: exempleSquattoSTand- Add external Load
Replies: 17
Views: 2202

Re: exempleSquattoSTand- Add external Load

Hi Chris I edited my body mass in OpenSim GUI and created a new .osim file with my new mass but when I use this new model Moco isn't solving the problem after the max iterations number. I didn't modified anything else from my previous simulation which worked well. Should I update my solver parameter...
by Mouaad BOUFADNA
Mon Jun 22, 2020 8:26 am
Forum: OpenSim Moco
Topic: exampleSquatToStand- MocoPeriodicityGoal
Replies: 47
Views: 4811

Re: exampleSquatToStand- MocoPeriodicityGoal

Hi Nick I resolved my problem. The pelvis_ty was to high to have the feet on the ground. After seeing the model coordinates in the GUI, I reduced pelvis_ty interval of values and fixed initial/final values to the ones where the model has feet on the ground. But during the motion, feet are moving fro...
by Mouaad BOUFADNA
Thu Jun 18, 2020 3:47 am
Forum: OpenSim Moco
Topic: exampleSquatToStand- MocoPeriodicityGoal
Replies: 47
Views: 4811

Re: exampleSquatToStand- MocoPeriodicityGoal

Ok I didn't undertand the setKinematicConstraints in that way I removed it and replace by the StateInfoPattern but I didn't get a solution. The moco MocoCasADiSolver. failed. So now the point is to config the initial guess in the solver I wrote the inital guess as follows : %Create an initial guess ...
by Mouaad BOUFADNA
Wed Jun 17, 2020 1:14 am
Forum: OpenSim Moco
Topic: exampleSquatToStand- MocoPeriodicityGoal
Replies: 47
Views: 4811

Re: exampleSquatToStand- MocoPeriodicityGoal

Hi Nick This is my entire code : % Load the Moco libraries import org.opensim.modeling.*; % Define the optimal control problem % ================================== study = MocoStudy(); study.setName('LiftPrediction'); problem = study.updProblem(); modelProcessor = ModelProcessor('2D_gait.osim'); pro...
by Mouaad BOUFADNA
Tue Jun 16, 2020 1:22 am
Forum: OpenSim Moco
Topic: exampleSquatToStand- MocoPeriodicityGoal
Replies: 47
Views: 4811

Re: exampleSquatToStand- MocoPeriodicityGoal

It's working now ! I get the .sto file for GRF. Only another problem :| My values are 0 except when the feet touche the ground at the end of the motion. My model is not on the ground at the beginning I think I should define a Contact constraint between the ground and the feet to avoid such kinematic...