Search found 1763 matches

by Thomas Uchida
Fri May 17, 2024 1:45 pm
Forum: OpenSim
Topic: Export spatial coordinates
Replies: 3
Views: 192

Re: Export spatial coordinates

You could place markers on the points of interest, then run a forward dynamic simulation where you apply the activations (as excitations), disabling activation dynamics if you wish. You can use the Output Reporter ( https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1OutputReporter.html ) to...
by Thomas Uchida
Wed May 15, 2024 9:08 am
Forum: OpenSim
Topic: Export spatial coordinates
Replies: 3
Views: 192

Re: Export spatial coordinates

It depends on which OpenSim Tool you are using. If you're running Inverse Kinematics, for example, you can set the report_marker_locations property to True. Another method is described in Forum Topic 16938 (viewtopicPhpbb.php?f=91&t=16938).
by Thomas Uchida
Sat May 11, 2024 10:20 am
Forum: OpenSim
Topic: getComponentList or getComponentsList
Replies: 2
Views: 211

Re: getComponentList or getComponentsList

The getComponentsList() method does not take an argument; it returns a list of all components and does not downcast. Here is an example use case (from test_access_subcomponents.py): num_components = 0 for comp in model.getComponentsList(): num_components += 1 There do not seem to be Python bindings ...
by Thomas Uchida
Tue Apr 30, 2024 12:58 pm
Forum: OpenSim
Topic: GCVSpline error performing ID
Replies: 1
Views: 307

Re: GCVSpline error performing ID

The error is of the form "GCVSpline: there must be # or more data points." This string can be found on line 99 of GCVSpline.cpp ( https://github.com/opensim-org/opensim-core/blob/ae4fcd2076cce6de9ca3d9c5a854cc72fc9b7841/OpenSim/Common/GCVSpline.cpp#L99 ). Presumably you are requesting a quintic spli...
by Thomas Uchida
Sat Apr 27, 2024 3:39 am
Forum: OpenSim
Topic: usage of ConditionalPathPoint
Replies: 4
Views: 341

Re: usage of ConditionalPathPoint

what should i do to add the conditionnal pathpoint to the pathpointset of the muscle?
I think it would be something like this:

Code: Select all

BIClong.updGeometryPath().updPathPointSet().cloneAndAppend(BIClong_point9);
I've used upd... methods here but the get... versions should work equally well in Matlab.
by Thomas Uchida
Thu Apr 25, 2024 4:33 pm
Forum: OpenSim
Topic: usage of ConditionalPathPoint
Replies: 4
Views: 341

Re: usage of ConditionalPathPoint

Based on the doxygen documentation ( https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1ConditionalPathPoint.html#a5fbccc632d996235419c0313a8fa369b ), the ConditionalPathPoint::connectSocket_coordinate() method would be called by passing in a reference to the coordinate, something like this...
by Thomas Uchida
Thu Apr 25, 2024 4:22 pm
Forum: OpenSim
Topic: CMC still failing
Replies: 3
Views: 447

Re: CMC still failing

it is very strange that a lot of much more complicated models work fine with CMC I don't think it is so common to run CMC with a contact mesh and elastic foundation force. If it's possible for your application, you might try simplifying the problem by using a joint (or constraint) on the floor inst...
by Thomas Uchida
Wed Apr 24, 2024 9:02 pm
Forum: OpenSim
Topic: updating Forces
Replies: 1
Views: 202

Re: updating Forces

I want to simulate a system with changing forces over time depending on location and velocity If the forces are functions of time where the functions are known before the simulation begins, you could try using some other type of Function (expand the "Inheritance diagram for OpenSim::Function" at th...
by Thomas Uchida
Sun Apr 07, 2024 5:49 pm
Forum: OpenSim
Topic: RRA double limb support with only one force plate
Replies: 1
Views: 263

Re: RRA double limb support with only one force plate

You are correct: RRA should not be run over time intervals where GRFs were applied to the left foot in the experiment but were not measured.
by Thomas Uchida
Sun Apr 07, 2024 5:44 pm
Forum: OpenSim
Topic: Unit of plot
Replies: 1
Views: 239

Re: Unit of plot

Muscle activations are unitless and forces are expressed in newtons. Some additional information about the muscle models can be found on the "Muscle Model Theory and Publications" section of the documentation and the associated publications ( https://opensimconfluence.atlassian.net/wiki/spaces/OpenS...