Search found 99 matches

by Sina Porsa
Mon Aug 05, 2013 12:10 am
Forum: OpenSim
Topic: muscle force is not a function of muscle activation !!
Replies: 1
Views: 455

muscle force is not a function of muscle activation !!

Hi, does anyone know what am I missing in the following script. I am using the default tugOfWar.osim model. I assign two different muscle activations to the muscle and I expect to have two different muscle forces. here is the script: Model OsimModel ("tugOfWar.osim"); SimTK::State& system = OsimMode...
by Sina Porsa
Tue Jul 09, 2013 8:55 pm
Forum: OpenSim
Topic: Wired Forward Dynamics results - OpenSim3.0 - Probably a bug
Replies: 6
Views: 793

Re: Wired Forward Dynamics results - OpenSim3.0 - Probably a

Hi Ayman,
I am still struggling with this problem and was wondering if you could understand what the source of error is?
Thanks
Sina
by Sina Porsa
Thu Jul 04, 2013 5:55 pm
Forum: OpenSim
Topic: Wired Forward Dynamics results - OpenSim3.0 - Probably a bug
Replies: 6
Views: 793

Re: Wired Forward Dynamics results - OpenSim3.0 - Probably a

Hi Ayman I have attached the osim file and a simple cpp file which has the unexpected results. It seems that the muscle activations in the result.sto file do not follow the constant muscle excitations. I used a constant 0.1 function for the excitation but the activation makes a plateau at 0.11 thanks.
by Sina Porsa
Sun Jun 30, 2013 5:55 pm
Forum: OpenSim
Topic: Wired Forward Dynamics results - OpenSim3.0 - Probably a bug
Replies: 6
Views: 793

Re: Wired Forward Dynamics results - OpenSim3.0 - Probably a

Is it possible that you added a new controller without removing the previous one so that they are both active and their outputs combined? Hi Sherm, I just double checked everything and the answer is no. The model has just one controller. I printed the model into HDD and this is the controller tag i...
by Sina Porsa
Thu Jun 27, 2013 11:19 pm
Forum: OpenSim
Topic: Wired Forward Dynamics results - OpenSim3.0 - Probably a bug
Replies: 6
Views: 793

Wired Forward Dynamics results - OpenSim3.0 - Probably a bug

Hi everyone. I just noticed some wired results from tugofwar API example. I reckon there is a bug in excitaion-activation dynamics. In the default API example, I changed the linear prescribed excitation with a constant excitation, see below: PrescribedController *muscleController= new PrescribedCont...
by Sina Porsa
Tue Jun 25, 2013 10:11 pm
Forum: OpenSim
Topic: Error: osimCommon.dll was not found
Replies: 2
Views: 335

Re: Error: osimCommon.dll was not found

Thank you Ayman,
Problem solved
by Sina Porsa
Sun Jun 23, 2013 6:32 pm
Forum: OpenSim
Topic: Error: osimCommon.dll was not found
Replies: 2
Views: 335

Error: osimCommon.dll was not found

Hi all, I can compile my scripts but when I want to run them, i receive this error message: This application has failed to start because osimCommon.dll was not found. Re-installing the application may fix the problem. which is really weird for me. Because I could run the same code a couple of days a...
by Sina Porsa
Wed Jun 19, 2013 11:15 pm
Forum: OpenSim
Topic: How can I realize the system to a new stage? - MatLab API
Replies: 7
Views: 1647

Re: How can I realize the system to a new stage? - MatLab AP

Hi Ayman, It seems that this method has some problems. If excitation/activation dynamics is based on Thelen 2003, then I expect da/dt=0 when excitation equals activation. But the following script returns non-zero values : osimModel = Model('tug_of_war_muscles.osim'); % SET DEFAULT ACTIVATION OF MUSC...
by Sina Porsa
Wed Jun 19, 2013 6:02 pm
Forum: OpenSim
Topic: How can I realize the system to a new stage? - MatLab API
Replies: 7
Views: 1647

Re: How can I realize the system to a new stage? - MatLab AP

Hi Ayman
That's great! thanks!
by Sina Porsa
Tue Jun 18, 2013 8:01 pm
Forum: OpenSim
Topic: How can I realize the system to a new stage? - MatLab API
Replies: 7
Views: 1647

Re: How can I realize the system to a new stage? - MatLab AP

I was wondering if it is possible to pass the model and other parameters to a mex-file to do the calculations?