Search found 1768 matches

by Thomas Uchida
Wed May 29, 2024 12:53 pm
Forum: OpenSim
Topic: Python Plotting Total Fiber Force
Replies: 1
Views: 171

Re: Python Plotting Total Fiber Force

You can run a MuscleAnalysis in the GUI or in Python ( https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53088479/How+to+Use+the+Analysis+Tool , https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1MuscleAnalysis.html ) which will generate a file containing the fiber force for...
by Thomas Uchida
Mon May 27, 2024 7:41 am
Forum: OpenSim
Topic: JRA joint location
Replies: 1
Views: 153

Re: JRA joint location

Does this mean that P=C (see image B) for this joint? Yes. This is true for most joints, a notable exception being the knee in models like gait2392 (which is defined as a CustomJoint with nonzero translations between the origins of the parent and child frames). It might be helpful to visualize the ...
by Thomas Uchida
Sat May 25, 2024 11:06 am
Forum: OpenSim
Topic: Placing Model Markers
Replies: 1
Views: 175

Re: Placing Model Markers

Some general ideas can be found on the following pages of the documentation: - Collecting Experimental Data -> Collecting Marker Data ( https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53089986/Collecting+Experimental+Data ) - Getting Started with Scaling -> Best Practices and Troub...
by Thomas Uchida
Sat May 25, 2024 10:55 am
Forum: OpenSim
Topic: Forward Kinematics
Replies: 2
Views: 234

Re: Forward Kinematics

Please take a look at OpenSense (https://simtk.org/projects/opensense). Once you have the kinematics of the model, you could write a script to pose the model, store the location of each marker with respect to ground, and iterate over all time points.
by Thomas Uchida
Tue May 21, 2024 7:05 am
Forum: OpenSim
Topic: Actuators RRA
Replies: 1
Views: 198

Re: Actuators RRA

How do I know when my actuators are too high? One might define an unacceptably large amount of error as being an amount of error that would affect the answer to the research question. This likely depends on the quality of the data, the model and calibration process, what movement you're investigati...
by Thomas Uchida
Fri May 17, 2024 1:45 pm
Forum: OpenSim
Topic: Export spatial coordinates
Replies: 3
Views: 312

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

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

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

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

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.