Search found 9 matches

by Gil Serrancolí
Fri Oct 16, 2015 6:24 am
Forum: OpenSim
Topic: Acceleration of center of mass
Replies: 5
Views: 1842

Re: Acceleration of center of mass

Thanks James for the answer. However, I tried it and it does not seem to work. I still obtain an acceleration equal to gravity. I just added the line to compute state derivatives after setting the states. model=Model('myModel.osim'); statesStorage=Storage('states_Storage.sto'); state=model.initSyste...
by Gil Serrancolí
Wed Sep 23, 2015 12:46 am
Forum: OpenSim
Topic: Acceleration of center of mass
Replies: 5
Views: 1842

Acceleration of center of mass

Hi, I am trying to calculate the mass acceleration of the total multibody system from the API in Matlab. I have the states stored in a .sto file. So, the code I was using is the following: model=Model('myModel.osim'); statesStorage=Storage('states_Storage.sto'); state=model.initSystem(); for i=0:(st...
by Gil Serrancolí
Tue Jun 23, 2015 8:11 am
Forum: OpenSim
Topic: Controllers definition (memory issue?)
Replies: 1
Views: 230

Controllers definition (memory issue?)

Dear, I am trying to run forward dynamics from a mexfile that we created. When it is executed for the first time, it seems to work properly. But, when it is executed for the second time, Matlab crashes. It seems to be a memory issue, but I don't know how to solve it. Then, the only option is restart...
by Gil Serrancolí
Wed Feb 06, 2013 8:58 am
Forum: OpenSim
Topic: Joint Reaction Analysis
Replies: 2
Views: 505

Re: Joint Reaction Analysis

Thanks Ayman, I had muscles in my model and I needed the joint reaction forces using just the skeleton, so when I run JointReaction Analysis with no muscles, what I obtained makes sense. It seems they actuated passively. I also ran it using a simple pendulum and I could understand the difference wit...
by Gil Serrancolí
Mon Feb 04, 2013 2:36 pm
Forum: OpenSim
Topic: Joint Reaction Analysis
Replies: 2
Views: 505

Joint Reaction Analysis

Hello, I would like to obtain the joint reactions of my model during human gait. I am running the JointReaction Analysis but I obtain forces and moments that are far away from the inverse dynamic loads. I have a model of one leg (pelvis, femur, patella, tibia, talus, calcaneus and toes). I use the A...
by Gil Serrancolí
Tue Dec 18, 2012 2:14 pm
Forum: OpenSim
Topic: MomentArmSolver
Replies: 2
Views: 475

Re: MomentArmSolver

Thanks Ayman, I was wondering if computeMomentArms() or other method could calculate the moment arms for all coordinates at the same time. So far, I am doing an iteration through all frames, all coordinates and all muscles to calculate the moment arms and it takes a long time. It seems that MuscleAn...
by Gil Serrancolí
Mon Dec 17, 2012 4:43 pm
Forum: OpenSim
Topic: MomentArmSolver
Replies: 2
Views: 475

MomentArmSolver

Hello, I need to calculate the muscle moment arms from a group of captures. So far, I have used the MuscleAnalyse, running it from Matlab. Also I used the API, with the ComputeMomentArm(). But I have read in a previous post that the MomentArmSolver() could calculate the moment arms from all muscles ...
by Gil Serrancolí
Wed Nov 21, 2012 8:10 am
Forum: OpenSim
Topic: IK error in Matlab API
Replies: 3
Views: 1052

Re: IK error in Matlab API

Thank you very much Ayman,

There was a problem in the file paths. I've fixed it and now it works.

Gil
by Gil Serrancolí
Mon Nov 19, 2012 6:05 pm
Forum: OpenSim
Topic: IK error in Matlab API
Replies: 3
Views: 1052

IK error in Matlab API

Hello, I am running Inverse Kinematics with GUI and it works well. But now I want to run through Matlab because I need to process several files. But I have the following error: Constructing tool from setup file Setup_InverseKinematics.xml. reading object from file ... Loaded model ... Running tool ....