Search found 4 matches

by Sivaprasad Kunnath
Mon Jul 01, 2024 8:20 pm
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 3
Views: 263

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: 3
Views: 263

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: 263

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.
by Sivaprasad Kunnath
Mon Jun 03, 2024 9:29 pm
Forum: OpenSim Moco
Topic: MoCoInverse: GCVSpline: there should be 6 or more data points, error.
Replies: 3
Views: 263

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

I am running mocoInverse in C++ using the OpenSim Moco API. When I attempt to run the study in Microsoft Visual Studio 2017, I encounter an error. I have verified that my input files conform to the standard format, and they work correctly within the OpenSim GUI. Despite this, I receive the following...