Search found 20 matches

by Giuseppe Scaccuto
Tue Feb 26, 2019 4:33 am
Forum: OpenSim
Topic: Muscles contraction without their activation
Replies: 10
Views: 1131

Re: Muscles contraction without their activation

I loaded the plugin, opened the model, and attempted to run a 0.1-second simulation, but the integrator did not seem to be progressing. Please provide instructions for how to reproduce the issue. I suspect there may be an issue in the plugin, which cannot be diagnosed without looking at the code. T...
by Giuseppe Scaccuto
Sun Feb 24, 2019 9:27 am
Forum: OpenSim
Topic: Muscles contraction without their activation
Replies: 10
Views: 1131

Re: Muscles contraction without their activation

I loaded the model you provided in your first post but received "Object type Millard12EqMuscleWithAfferents not recognized" errors so I was unable to reproduce the issue to investigate. However, I loaded the arm26 model that accompanies the 4.0 installation and confirmed that no active muscle force...
by Giuseppe Scaccuto
Sat Feb 23, 2019 7:55 am
Forum: OpenSim
Topic: Muscles contraction without their activation
Replies: 10
Views: 1131

Re: Muscles contraction without their activation

tkuchida wrote:
Fri Feb 22, 2019 11:27 am
Gravity and/or passive muscle forces?
Gravity was setted to 0.

Here's passive forces.

passive forces.png
passive forces.png (16.83 KiB) Viewed 872 times
by Giuseppe Scaccuto
Fri Feb 22, 2019 8:57 am
Forum: OpenSim
Topic: Muscles contraction without their activation
Replies: 10
Views: 1131

Muscles contraction without their activation

Dear all, I'm using an upper limb .osim model with 6 millard muscles and 2 DoF. I'm using a modified version of the MoBL upper limb model with only the following muscles: DELT3, PECM1, TRIlong, TRIlat, BICshort, BRA. Muscle parameters are taken from the original paper of the model: https://www.ncbi....
by Giuseppe Scaccuto
Wed Feb 20, 2019 10:17 am
Forum: OpenSim
Topic: OpenSim-MATLAB/Simulink Interface
Replies: 1
Views: 371

OpenSim-MATLAB/Simulink Interface

Dear all! I set up a Forward Dynamics Simulation in Simulink with these settings: - solver = RungeKuttaMerson Integrator (ode4) - fixed step value = 0.01 I forced OpenSim to use same step size and make it constant with an integrator accuracy of 0.1. Now my simulation results have a fixed number of s...
by Giuseppe Scaccuto
Mon Jan 28, 2019 3:36 am
Forum: OpenSim
Topic: Speed up my Simulation using OpenSim-Matlab C++ Mex Interface
Replies: 4
Views: 579

Re: Speed up my Simulation using OpenSim-Matlab C++ Mex Interface

Ok, I set up Simulink step to a fixed value (0.01) and I forced OpenSim to use same step size and make it constant with an integrator accuracy of 0.1. Now my simulation results have a fixed number of steps and it takes less time. I have another question. When I perform some test on that model, I not...
by Giuseppe Scaccuto
Fri Jan 11, 2019 11:05 am
Forum: OpenSim
Topic: Speed up my Simulation using OpenSim-Matlab C++ Mex Interface
Replies: 4
Views: 579

Re: Speed up my Simulation using OpenSim-Matlab C++ Mex Interface

Yes, I'm using a modified version of the MoBL upper limb model with only the following muscles: DELT3 PECM1 TRIlong TRIlat BICshort BRA Muscle parameters are taken from the original paper of the model: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4282829/ The unique parameter I changed is the contra...
by Giuseppe Scaccuto
Thu Jan 10, 2019 9:00 am
Forum: OpenSim
Topic: Speed up my Simulation using OpenSim-Matlab C++ Mex Interface
Replies: 4
Views: 579

Speed up my Simulation using OpenSim-Matlab C++ Mex Interface

Dear all, I'm using this interface to create a forward simulation in Simulink for setting muscle excitations and retrieving some output information. https://simtk.org/projects/opensimmatlab I used an upper limb .osim model with 6 millard muscles and 2 DoF. I setup a Manager object with Runge-Kutta I...
by Giuseppe Scaccuto
Wed Nov 14, 2018 5:21 am
Forum: Extendable OpenSim-Matlab Interface Using Class Oriented Mex Interface for C++
Topic: a tutorial video request
Replies: 9
Views: 1796

Re: a tutorial video request

I got this error with MATLAB R2018 version but I solved it with R2017 version.
by Giuseppe Scaccuto
Wed Nov 14, 2018 4:30 am
Forum: OpenSim
Topic: Create a custom muscle model with subcomponents
Replies: 10
Views: 885

Re: Create a custom muscle model with subcomponents

UPDATE: Ok, It works now!

The problem was in the socket tag on xml code in the .osim model file.

As reported in: viewtopicPhpbb.php?f=91&t=9636&p=26386&start=0&view=

Every tag should be contain the suffix "_connectee_name".