Search found 45 matches

by Marc Carmichael
Sun May 16, 2010 9:26 pm
Forum: OpenSim
Topic: Using API for static analysis with forces
Replies: 4
Views: 533

RE: Using API for static analysis with forces

<r>I think I sorted out my problem. I guess I was just wrong in my implementation.<br/> <br/> <br/> ***This is what I was doing:<br/> <br/> PrescribedForce *force1 = new PrescribedForce(body);<br/> force1->setForceFunctions(&OpenSim::Constant(1.0), &OpenSim::Constant(1.0), &OpenSim::Cons...
by Marc Carmichael
Thu May 13, 2010 12:43 am
Forum: OpenSim
Topic: Using API for static analysis with forces
Replies: 4
Views: 533

RE: Using API for static analysis with forces

<t>Hi Ayman,<br/> <br/> My program throws the exception as it performs the osimModel.print() function, so no new model is made so I can't load the model in the GUI to see if the new force is added.<br/> <br/> Does this give a clue to why the exception is being thrown? If I comment out the osimModel....
by Marc Carmichael
Mon May 10, 2010 12:48 am
Forum: OpenSim
Topic: Using API for static analysis with forces
Replies: 4
Views: 533

Using API for static analysis with forces

<t>Hello, I am trying to write a c++ program to use the OpenSim API to perform a static simulation using the Stanford upperlimb model. In a nutshell what I'm trying to do is:<br/> <br/> 1 - Position the arm into a specific pose<br/> 2 - Apply an external load to the model's hand<br/> 3 - Calculate t...
by Marc Carmichael
Sun May 09, 2010 8:29 pm
Forum: OpenSim
Topic: Modifying .osim XML file via API
Replies: 2
Views: 1225

RE: Modifying .osim XML file via API

Thanks for the help Ayman. You were right, I made the change and my program now works great.

Thanks again!

Marc
by Marc Carmichael
Sun May 09, 2010 4:22 am
Forum: OpenSim
Topic: Modifying .osim XML file via API
Replies: 2
Views: 1225

Modifying .osim XML file via API

<r>Hi, I'm fairly new to c++ and even newer to opensim, so please be gentle <E>:)</E><br/> <br/> I want to perform some simulations using the Stanford upper limb model in which I repeat the analysis with variations to the model (different inertia properties, scale, etc). I was thinking rather than e...