Search found 42 matches

by Ratna Sambhav
Tue Apr 21, 2020 3:48 am
Forum: OpenSim
Topic: CMC vs Static Optimization
Replies: 0
Views: 113

CMC vs Static Optimization

Hello all, I have just a simple question. I am getting results of arm flexion using both CMC and Static Optimization. And the results are quite different. There is an appreciable difference in muscle activity in both the methods. Which one is more reliable? Which results should I take to be more acc...
by Ratna Sambhav
Wed Apr 15, 2020 11:15 pm
Forum: OpenSim
Topic: Changing torque actuator excitation in every loop of Static Optimization
Replies: 3
Views: 354

Changing torque actuator excitation in every loop of Static Optimization

Hello, I am trying static optimization for arm flexion of arm26 model in matlab. The procedure through which static optimization goes through is that it first calculates the joint moment at the joint based on the motion file. Then, it does muscle force calculation based on that. Is it possible that ...
by Ratna Sambhav
Sun Mar 01, 2020 11:10 am
Forum: OpenSim
Topic: Using the Time Stepper to get state values after each iteration
Replies: 1
Views: 119

Using the Time Stepper to get state values after each iteration

Hi all, I am working on using the Integrator of OpenSim API. While I run the following command, manager.integrate(1) ; It means that the underlying equations are being solved multiple times until 1 second time duration is reached. During that time duration, equations are solved and state values are ...
by Ratna Sambhav
Fri Jan 31, 2020 3:50 am
Forum: OpenSim
Topic: OpenSim-Simulink interfacing possibility
Replies: 1
Views: 147

OpenSim-Simulink interfacing possibility

Hello, I am working on interfacing OpenSim with matlab. Currently, I am able to do my work in matlab using scripts in which I import the Opensim library and the required model. But I want to shift the whole thing on Simulink, so that I may be able to interface SimMechanics too. Is there any possibil...
by Ratna Sambhav
Thu Jan 30, 2020 3:22 am
Forum: OpenSim
Topic: Getting elbow moment, given muscle activation
Replies: 0
Views: 70

Getting elbow moment, given muscle activation

Hello, I need help to use MuscleAnalysis to get elbow moment due to biceps and triceps muscle. I am giving some activation to the biceps muscle set in each loop, and getting the elbow joint position (integration time set to 0.8). How will I be able to get instantaneous joint moment at elbow joint, j...
by Ratna Sambhav
Thu Jan 30, 2020 3:06 am
Forum: OpenSim
Topic: Stage realization not working- Calculating reaction force on parent body in a pin joint
Replies: 2
Views: 228

Re: Stage realization not working- Calculating reaction force on parent body in a pin joint

Thanks Dimitar for your reply. In the given python example, they have run the integrator once, and obtained all the data from the state generated. But in my case, I have to run the integrator for a small time in every loop and get the force data every time, and based on that update control signals g...
by Ratna Sambhav
Mon Jan 27, 2020 1:16 am
Forum: OpenSim
Topic: Stage realization not working- Calculating reaction force on parent body in a pin joint
Replies: 2
Views: 228

Stage realization not working- Calculating reaction force on parent body in a pin joint

Hello, I am trying to run a simple pendulum and calculate reaction forces on ground. I have made a ball of given radius and an arm length of 2.5 and oscillating it directly with respect to ground, under the influence of gravity only. I have run the simulation in a loop, and set the integration time....
by Ratna Sambhav
Fri Jan 24, 2020 9:35 pm
Forum: OpenSim
Topic: Method for giving control signal to path actuator
Replies: 5
Views: 655

Re: Method for giving control signal to path actuator

Thanks, that worked. I understood what I was doing wrong.
by Ratna Sambhav
Fri Jan 24, 2020 8:45 am
Forum: OpenSim
Topic: Method for giving control signal to path actuator
Replies: 5
Views: 655

Re: Method for giving control signal to path actuator

Hello Thomas Uchida, Thanks for your kind attention and reply. In the simple example code, muscle has been controlled but what I want to control here is the PathActuator, which basically creates tension based on the value of it's OptimalForce and the control signal applied to it. I tried giving cont...
by Ratna Sambhav
Fri Jan 24, 2020 5:19 am
Forum: OpenSim
Topic: ContactMesh not working with input stl file from solidworks.
Replies: 2
Views: 457

Re: ContactMesh not working with input stl file from solidworks.

Thankyou for your kind attention Ayman Habib.
From now on, I'll be using MeshLab for model import, for avoiding any issue related to mesh. My current problem was solved by using ElasticFoundationForce instead of HuntCrossleyForce.
Thanks