Search found 11 matches

by Elena Bardi
Tue Feb 16, 2021 1:24 am
Forum: OpenSim
Topic: inverse dynamics and passive muscle contribution
Replies: 6
Views: 821

Re: inverse dynamics and passive muscle contribution

Thanks for the suggestion, I will try to do that!
by Elena Bardi
Mon Feb 15, 2021 5:56 am
Forum: OpenSim
Topic: inverse dynamics and passive muscle contribution
Replies: 6
Views: 821

Re: inverse dynamics and passive muscle contribution

Hi Jacob, Thank you for your kind and very useful answer! It appears that there is indeed some residual activation of the muscles. I computed the muscles' active contribution while setting their activation to 0 and I realized it is not null as I was expecting it to be. If I consider this contributio...
by Elena Bardi
Fri Feb 12, 2021 8:14 am
Forum: OpenSim
Topic: inverse dynamics and passive muscle contribution
Replies: 6
Views: 821

Re: inverse dynamics and passive muscle contribution

Hi Jacob, thanks for your reply! I double-checked the sign and I tried to add the passive contribution but the resultant kinematics is definetely not the desired one. Regarding the shoulder I have blocked the coordinate, so I guess it shouldn't interfere with my calculations, am I correct? Thank you...
by Elena Bardi
Thu Feb 11, 2021 7:36 am
Forum: OpenSim
Topic: inverse dynamics and passive muscle contribution
Replies: 6
Views: 821

inverse dynamics and passive muscle contribution

Dear everyone, I am working on the Arm26 model to which I added a coordinate actuator at the elbow joint. My goal is to define a trajectory to be followed by the elbow joint and to compute the torque to be applied by the coordinate actuator to follow that trajectory, considering the muscles inactive...
by Elena Bardi
Wed Feb 10, 2021 8:27 am
Forum: OpenSim
Topic: Matlab simulation with input torque provided externally
Replies: 0
Views: 245

Matlab simulation with input torque provided externally

Dear all, I am working on arm26 model, to which I added a coordinate actuator at the elbow joint. I would like to perform forward simulations by controlling the actuator with torque values provided externally. In particular, my goal is to compute torque values with a Simulink model and to provide th...
by Elena Bardi
Mon Aug 24, 2020 3:24 am
Forum: OpenSim
Topic: Matlab visualizer
Replies: 1
Views: 257

Matlab visualizer

Hello everyone, I am currently working on a matlab script which uses the Visualizer. I am using the model "Arm26" to which I added a schematic representation of an exoskeleton. When I load the file through the Opensim GUI there is no problem with the visualization of the model. However, when I run t...
by Elena Bardi
Sun Jul 26, 2020 6:39 am
Forum: OpenSim
Topic: MATLAB crash when computing forward dynamics
Replies: 10
Views: 1377

Re: MATLAB crash when computing forward dynamics

Hi guys,

unfortuntely I wans't able to solve my problem. However, if I manage to find a solution I will post it here.

Thanks for all the help.

Elena
by Elena Bardi
Mon Jul 20, 2020 4:15 am
Forum: OpenSim
Topic: MATLAB crash when computing forward dynamics
Replies: 10
Views: 1377

Re: MATLAB crash when computing forward dynamics

Hi Pavlos,

thank you for your help!

Could you please explain to me how to not return any variable and still make the simulation continue at the proper state at each loop? This is not very clear to me.

Best regards,

Elena
by Elena Bardi
Mon Jul 20, 2020 1:24 am
Forum: OpenSim
Topic: MATLAB crash when computing forward dynamics
Replies: 10
Views: 1377

Re: MATLAB crash when computing forward dynamics

Hi Daan,

thank you so much for the answer!

I indeed do not have any issue when running the code in the main, however I am not sure how could I avoid using the manager in a function if I need to run a simulation in simulink. Do you have any suggestions for that?

Best regards,

Elena
by Elena Bardi
Sat Jul 18, 2020 5:03 am
Forum: OpenSim
Topic: MATLAB crash when computing forward dynamics
Replies: 10
Views: 1377

Re: MATLAB crash when computing forward dynamics

Hi Ayman, thank you so much for the quick answer! This is the script from which I call the function "forward_dyn": import org.opensim.modeling.* path='C:\OpenSim 4.1\Geometry'; ModelVisualizer.addDirToGeometrySearchPaths(path); mymodel = Model('arm26_Copy.osim'); mymodel.setUseVisualizer(true); stat...