Search found 12 matches

by Saurabh Kothari
Fri Dec 08, 2023 1:04 pm
Forum: OpenSim
Topic: Get joint torques during forward simulation
Replies: 1
Views: 196

Re: Get joint torques during forward simulation

From simbody documentation, it seems getMobilityForces() and getRigidBodyForces() functions could be used for this. Can someone tell what is the difference between these two functions? And which one is appropriate for getting joint moments/torques due to muscles, gravity, centrifugal and coriolis? A...
by Saurabh Kothari
Thu Dec 07, 2023 12:30 pm
Forum: OpenSim
Topic: Get joint torques during forward simulation
Replies: 1
Views: 196

Get joint torques during forward simulation

Hi,

I would like to know how to get access to joint torques during forward simulation using python API? Is there any API command for it?

Thanks,
Saurabh
by Saurabh Kothari
Thu Oct 22, 2020 11:22 am
Forum: OpenSim
Topic: Setting initial velocity of dependent coordinates
Replies: 0
Views: 106

Setting initial velocity of dependent coordinates

Hi All, I am using upper extremity dynamic model which uses CoordinateCoupler constraint to calculate the dependent coordinates. When I set the values of independent coordinates, the dependent coordinates also change due to constraints as expected. But when I set the velocities of independent coordi...
by Saurabh Kothari
Tue Sep 15, 2020 4:41 am
Forum: OpenSim
Topic: Function for jacobian
Replies: 0
Views: 90

Function for jacobian

Hi All,

Is there any way to calculate the jacobian of the joint angles w.r.t. the marker points?

Thanks,
Saurabh
by Saurabh Kothari
Mon Jun 08, 2020 10:06 am
Forum: OpenSim
Topic: Activation dynamics of Schutte muscle model
Replies: 1
Views: 184

Activation dynamics of Schutte muscle model

Hi All, I was looking through the source code of following muscle models in OpenSim: 1) Delp1990Muscle_Deprecated 2) Schutte1993Muscle_Deprecated In both the models, the activation dynamics is described as follows: If u(t) >= a(t), da/dt = [u(t) - a(t)] * [k1*u(t) + k2] else da/dt = k2 * [u(t) - a(t...
by Saurabh Kothari
Sat May 30, 2020 5:34 am
Forum: OpenSim
Topic: Error with force velocity curve in Millard_equilibrium model
Replies: 4
Views: 419

Re: Error with force velocity curve in Millard_equilibrium model

Hi All,

I am still unable to fix this problem. Is there any solution to this?

Thanks,
Saurabh
by Saurabh Kothari
Mon May 25, 2020 10:45 am
Forum: OpenSim
Topic: Problem in forward dynamics
Replies: 1
Views: 227

Problem in forward dynamics

Hi All, I am trying to run the forward dynamics simulation with attached model and controls. The simulation runs smoothly for about 0.6 sec after which it stopped working. I inspected the resulting states file and found nan values in the last two rows where last second row has all joint velocities a...
by Saurabh Kothari
Sun May 24, 2020 10:49 am
Forum: OpenSim
Topic: Error with force velocity curve in Millard_equilibrium model
Replies: 4
Views: 419

Re: Error with force velocity curve in Millard_equilibrium model

Dear Thomas, I have changed the model to have identical properties for the left and right muscles. The problem still persists. I have also tried changing force-velocity curve parameters in other models which uses Millard_equilibrium muscles and got the same error there too. Interestingly, I have fou...
by Saurabh Kothari
Fri May 22, 2020 7:24 am
Forum: OpenSim
Topic: Error with force velocity curve in Millard_equilibrium model
Replies: 4
Views: 419

Error with force velocity curve in Millard_equilibrium model

Hi All, When loading the attached model file, I am getting the following error: SimTK Exception thrown at SmoothSegmentedFunctionFactory.cpp:303: Error detected by Simbody method SmoothSegmentedFunctionFactory::createFiberForceVelocityCurve: ForceVelocityInverseCurve: dydxNearE must be greater than ...
by Saurabh Kothari
Wed Aug 07, 2019 2:48 am
Forum: OpenSim
Topic: DLL load failed while importing opensim with python3.5
Replies: 1
Views: 200

DLL load failed while importing opensim with python3.5

Hi All, I am using windows 10 64 bit system and trying to install OpenSim 4.0 python package in conda environment having 64 bit python 3.5. I have followed this steps: https://simtk-confluence.stanford.edu:8443/display/OpenSim/Scripting+in+Python#ScriptinginPython-InstallingAnacondaandthe%22opensim%...