Search found 922 matches

by Dimitar Stanev
Mon Sep 16, 2019 9:18 am
Forum: OpenSim
Topic: 'methodsview' in Python
Replies: 3
Views: 78

Re: 'methodsview' in Python

Yes, if you need a second level completion you have to get the object first e.g.: model = opensim.Model() model.[compeltion] you can do something like this in ipython: model.getCoordinateSet? [enter] help('model.getCoordinateSet') but as the bindings are auto-generated they lack comprehensive docume...
by Dimitar Stanev
Mon Sep 16, 2019 1:10 am
Forum: OpenSim
Topic: 'methodsview' in Python
Replies: 3
Views: 78

Re: 'methodsview' in Python

Hi,

Depending on the editor that you use, you can have completion in Python that gives you a list of available functions.

Regards
by Dimitar Stanev
Sat Sep 14, 2019 3:56 am
Forum: OpenSim
Topic: Why does static optimization does not consider the force in the parallel elastic element
Replies: 4
Views: 186

Re: Why does static optimization does not consider the force in the parallel elastic element

Hi, A very good question and very good answer as well. Ton I was curious if the optimization can be solved efficiently (less iterations to converge by IPOPT) as follows: minimize f(am) w.r.t. am s.t. R * fm(am) = tau 0 <= am <= 1 where fm(am) = fmax * (am * fl * fv + fpe) * cos(alpha) The fl, fv, fp...
by Dimitar Stanev
Tue Sep 10, 2019 12:03 am
Forum: OpenSim
Topic: Missing Parameters when Adding Ligaments / Wrap Sphere
Replies: 4
Views: 117

Re: Missing Parameters when Adding Ligaments / Wrap Sphere

Hi, In this case you can navigate the source code to check there are some bugs in the internal implementation. For the ligament everything seems ok. https://github.com/opensim-org/opensim-core/blob/2fc6dc1d23734f3b5f8d58c3b3833871e756c675/OpenSim/Simulation/Model/Ligament.h#L59 The above are the pro...
by Dimitar Stanev
Mon Sep 09, 2019 11:38 pm
Forum: OpenSim
Topic: Large Residual Force in Y direction (FY)
Replies: 2
Views: 110

Re: Large Residual Force in Y direction (FY)

Hi, If you are getting on average 22N, this might be ok. Just to clarify. You have the kinematics and ground reaction forces of a subject. Then in your model you add some extra bodies. In that case, the model + extra bodies would not have to match the experimentally measured ground reaction forces. ...
by Dimitar Stanev
Mon Sep 09, 2019 11:32 pm
Forum: OpenSim
Topic: Re: Questions Regarding joint reaction analysis
Replies: 1
Views: 77

Re: Questions Regarding joint reaction analysis

For joint reactions you will have to use the JointReaction analysis

https://simtk-confluence.stanford.edu:8 ... s+Analysis

As for the joint moments, they are computed by ID.
by Dimitar Stanev
Fri Sep 06, 2019 2:36 am
Forum: OpenSim
Topic: Easy way to create Task.xml and Actuators.xml for a model
Replies: 5
Views: 186

Re: Easy way to create Task.xml and Actuators.xml for a model

Typically, you can borrow and adapt the already existing files (e.g., from gait2392) for your model. Alternatively, you can write a script to automate this process. There are not any publicly available.
by Dimitar Stanev
Thu Sep 05, 2019 12:01 am
Forum: OpenSim
Topic: Ellipsoid Wrap Dimensions Python
Replies: 1
Views: 63

Re: Ellipsoid Wrap Dimensions Python

I think in the v4.0 version you can set the dimensions using the setter:

Code: Select all

capsule.set_dimensions(osim.Vec3(x, y, z))


https://github.com/opensim-org/opensim- ... soid.h#L49
by Dimitar Stanev
Wed Sep 04, 2019 11:56 pm
Forum: OpenSim
Topic: Locked Coordinate
Replies: 2
Views: 124

Re: Locked Coordinate

No, if it is locked. You may find more information for what locking does:

https://simtk.org/api_docs/simbody/api_ ... ml#details
by Dimitar Stanev
Wed Sep 04, 2019 12:48 am
Forum: OpenSim
Topic: Inverse dynamics - MTP, shoulder
Replies: 2
Views: 108

Re: Inverse dynamics - MTP, shoulder

You have to check if the MTP joint angles are prescribed when it is not locked. This you can check during solving inverse kinematics (second tab). For the shoulder model this might not be a problem, if you create a floating base between the thorax and ground. This is because the ground reaction forc...