Search found 11 matches

by Sivaprasad Kunnath
Fri Sep 20, 2024 6:23 pm
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 15
Views: 3482

Re: MoCoInverse : Objective Function not Converging

Hey Nicholas, Thank you for your constant support. I was able to plot the needed solution using the analyse methods you recommended. I got a couple more questions regarding the iterations I'm working on. It is in regards to muscle moments and Reserve actuators. 1. When i perform a mocoInverse study ...
by Sivaprasad Kunnath
Wed Aug 28, 2024 5:00 pm
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 15
Views: 3482

Re: MoCoInverse : Objective Function not Converging

Hi Nicholas, The plot on the left side was the output of \forceset\Trilong from the output .sto file after performing invserseStudy.solve. I presumed the output from the mocoinverse is activation values and the corresponding muscle forces! These variables are scaled down to the range of 0.01 to 1, b...
by Sivaprasad Kunnath
Tue Aug 27, 2024 12:14 am
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 15
Views: 3482

Re: MoCoInverse : Objective Function not Converging

Hello Nicholas, Thank you for your help. Following the instructions, I was able to get consistent result in activation. The activation values when analysed, followed the expected behavior. However, the muscle forces that accompanies the activation values, are distorted. It seems to be oscillating be...
by Sivaprasad Kunnath
Tue Aug 13, 2024 4:10 pm
Forum: OpenSim
Topic: Assistive forces as external forces
Replies: 1
Views: 1038

Assistive forces as external forces

Hi, I am simulating an experiment with an assistive force as rehabilitative learning effort applied to a point on the wrist. This force produce the movement to the arm. I am curious on how to model the force. At present, I have the force to be a constant time series force. I want to know whether for...
by Sivaprasad Kunnath
Tue Aug 13, 2024 1:14 am
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 15
Views: 3482

Re: MoCoInverse : Objective Function not Converging

Hi Nicholas, Thank you for your prompt reply. I performed a couple more iterations following your advice. I assigned the bounds to be [-1,1], but am unsure what values to assign for the reserve actuator optimal force. Right now, it's at it's default value of 1. I will also attach here a brief introd...
by Sivaprasad Kunnath
Thu Aug 08, 2024 1:40 am
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 15
Views: 3482

Re: MoCoInverse : Objective Function not Converging

Hi Nicholas, Thanks for your reply. I will be trying a couple of iterations with the modified settings. Also, I wanted to ask, whether it can be considered to use the mocoInverse to find the Joint forces by switching off all muscles and taking just the reserve actuators. If it's possible, how can I ...
by Sivaprasad Kunnath
Thu Aug 01, 2024 3:38 pm
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 15
Views: 3482

Re: MoCoInverse : Objective Function not Converging

Hey Nicholas, I have been running multiple iterations with varying parameter's after analysing the results and these are my observations. 1. The objective function diverged to bigger values when I keep my reserve actuator limits from (-inf,inf). When i narrow it to 0 to 1. It lowers down to smaller ...
by Sivaprasad Kunnath
Mon Jul 01, 2024 8:20 pm
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 15
Views: 3482

Re: MoCoInverse : Objective Function not Converging

Hey Nicholas, I tried to troubleshoot the data and the model as suggested. I am applying a constant force to the model to generate the motion. The motion was generated in matlab and extended to opensim model by generating a 2 DOF motion at 2 joints. I tried to roughly run it in Opensim, and the Inve...
by Sivaprasad Kunnath
Tue Jun 04, 2024 9:28 pm
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 15
Views: 3482

MoCoInverse : Objective Function not Converging

Hi, I am trying to run MocoInverse for an Upper limb arm model. I have the joint kinematics, and external forces file in sto format. I also defined an xml file for estimating inverse dynamics using mocoInverse. I defined the model as follow try { MocoInverse inverse; inverse.setName("matLab_motion")...
by Sivaprasad Kunnath
Tue Jun 04, 2024 9:23 pm
Forum: OpenSim Moco
Topic: MoCoInverse: GCVSpline: there should be 6 or more data points, error.
Replies: 3
Views: 1068

Re: MoCoInverse: GCVSpline: there should be 6 or more data points, error.

Hey Nicholas,

Thank you for your support. The file had six columns and approximately 1,200 rows. I discovered that the issue was due to a blank line between the labels and the values, causing the program to attempt to fetch data but finding no values due to the empty line.