Search found 65 matches

by Gautam Ramachandra
Tue Oct 09, 2018 4:51 am
Forum: OpenSim
Topic: How to put constraints ?
Replies: 1
Views: 175

How to put constraints ?

Hi,
I am using MoBL Upper Extremity Dynamic Model, I want to constrain the wrist marker(or any point on the wrist) to move only in a 2D plane. Is there any way to do it in OpenSim ?
by Gautam Ramachandra
Wed May 02, 2018 2:46 am
Forum: OpenSim
Topic: Initialising the upper extremity arm model
Replies: 1
Views: 103

Initialising the upper extremity arm model

Hi, How to initialise the upper extremity arm model in .osim file other than its default position. I want to initiate it to a new position so that it becomes the default position and later on I can use that to run python scripts. How do I change the initial default position of the arm model in .osim...
by Gautam Ramachandra
Tue Mar 13, 2018 10:43 pm
Forum: OpenSim
Topic: Error running upper extremity model
Replies: 4
Views: 243

Re: Error running upper extremity model

I disabled the constraints but still getting the same error
by Gautam Ramachandra
Mon Mar 12, 2018 10:56 pm
Forum: OpenSim
Topic: Error running upper extremity model
Replies: 4
Views: 243

Re: Error running upper extremity model

Large forces are not applied, I have checked so any other reasons for this error ?
by Gautam Ramachandra
Thu Mar 08, 2018 4:03 am
Forum: OpenSim
Topic: Error running upper extremity model
Replies: 4
Views: 243

Error running upper extremity model

I am trying to run a python script for MoBL_ARMS_module2_4_allmuscles.osim which is available on simtk repository but I am getting the following error, please help me to resolve this issue File "/opensim/lib/python2.7/site-packages/osim/env/arm.py", line 28, in __init__ manager.integrate(state) File...
by Gautam Ramachandra
Tue Dec 26, 2017 8:34 am
Forum: OpenSim
Topic: Adding sphere
Replies: 1
Views: 98

Adding sphere

How to add a sphere in opensim environment using python ?
by Gautam Ramachandra
Wed Nov 22, 2017 8:55 pm
Forum: OpenSim
Topic: Calling markers of arm26 in python
Replies: 4
Views: 1852

Re: Calling markers of arm26 in python

Thanks I got it, had made a mistake in my program, my objective function was not right.
by Gautam Ramachandra
Wed Nov 22, 2017 10:20 am
Forum: OpenSim
Topic: Calling markers of arm26 in python
Replies: 4
Views: 1852

Re: Calling markers of arm26 in python

Thank you for the reply, I use 4.0 and used this self.osim_model.model.getBodySet().get("r_ulna_radius_hand") but as the hand moves the coordinate are not changing it is repeating the same coordinate and if I use this p_g = model.getMarkerSet().get(0).getLocationInGround(s); by default it will take ...
by Gautam Ramachandra
Tue Nov 21, 2017 12:41 am
Forum: OpenSim
Topic: Calling markers of arm26 in python
Replies: 4
Views: 1852

Calling markers of arm26 in python

Hi, Need help in calling the marker function and getting its coordinates in python , for example when we want to call the joint coordinate we use this self.osim_model.joints[0].getCoordinate(0).getValue(self.osim_model.state) likewise how to get the x,y,z for the marker that is attached to the arm m...
by Gautam Ramachandra
Sun Oct 30, 2016 11:04 pm
Forum: OpenSim
Topic: Opensim - Linux
Replies: 11
Views: 762

Re: Opensim - Linux

Yup thank you its working flawlessly :D