Search found 1110 matches

by Thomas Uchida
Tue Jun 18, 2019 2:53 pm
Forum: OpenSim
Topic: Changing properties in .sto file
Replies: 4
Views: 87

Re: Changing properties in .sto file

You can call setMass() immediately after loading the model. Please refer to the documentation and examples: - https://simtk-confluence.stanford.edu:8443/display/OpenSim/Common+Scripting+Commands - https://simtk-confluence.stanford.edu:8443/display/OpenSim/Scripting+with+Matlab - https://github.com/o...
by Thomas Uchida
Tue Jun 18, 2019 7:00 am
Forum: OpenSim
Topic: Changing properties in .sto file
Replies: 4
Views: 87

Re: Changing properties in .sto file

Is there anyway I can change the mass of a specific body when importing a certain .sto file? No: mass is a property, not a time-varying quantity like fiber length and activation. To change the mass of a Body: - if you are using the GUI, you can use the Property Editor panel ( https://simtk-confluen...
by Thomas Uchida
Tue Jun 18, 2019 6:54 am
Forum: OpenSim
Topic: Reading states in Python
Replies: 7
Views: 353

Re: Reading states in Python

I'm assuming "pelvis_tx" is not the correct form for name (string) of the state variable. You can ask the Model (or any Component) for a list of its state variables using the getStateVariableNames() method ( https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1Component.html#a6aa7e8f90467856...
by Thomas Uchida
Mon Jun 17, 2019 9:37 am
Forum: OpenSim
Topic: Scaled model looks like an alien
Replies: 1
Views: 98

Re: Scaled model looks like an alien

This question has already been asked and answered here (topic 6129): viewtopicPhpbb.php?f=91&t=6129. (Also: how do you know what an alien looks like? :shock:)
by Thomas Uchida
Mon Jun 17, 2019 6:21 am
Forum: OpenSim
Topic: Maximum torque developped by elbow
Replies: 1
Views: 35

Re: Maximum torque developped by elbow

On line 61 of isometric_v2.cpp, you are computing the moment arm given the final state only. Instead, I think you want to compute the moment arm at each instant throughout the simulation and find the maximum. You could try using a StatesTrajectoryReporter ( https://simtk.org/api_docs/opensim/api_doc...
by Thomas Uchida
Mon Jun 17, 2019 6:13 am
Forum: OpenSim
Topic: Questions Regarding defining coordinate system and scaling
Replies: 5
Views: 175

Re: Questions Regarding defining coordinate system and scaling

The knee joint is described on the "Gait 2392 and 2354 Models" page in the Confluence documentation (https://simtk-confluence.stanford.edu:8 ... 354+Models) and in the papers to which it refers.
by Thomas Uchida
Fri Jun 14, 2019 8:10 am
Forum: OpenSim
Topic: Use Fiber Force as input in Forward Dynamics tool
Replies: 12
Views: 318

Re: Use Fiber Force as input in Forward Dynamics tool

I think you could write a new MuscleFirstOrderActivationDynamicModel class ( https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1MuscleFirstOrderActivationDynamicModel.html ) that takes fiber velocity into account and replace the default activation model in Thelen2003Muscle with yours. The n...
by Thomas Uchida
Fri Jun 14, 2019 7:56 am
Forum: OpenSim
Topic: Verification and Validation of the OpenSim Software Package
Replies: 1
Views: 38

Re: Verification and Validation of the OpenSim Software Package

There are many tests. Most are run from Visual Studio (see https://github.com/opensim-org/opensim-core); others are run from Matlab or Python.
by Thomas Uchida
Thu Jun 13, 2019 12:52 pm
Forum: OpenSim
Topic: Use Fiber Force as input in Forward Dynamics tool
Replies: 12
Views: 318

Re: Use Fiber Force as input in Forward Dynamics tool

Our main goal is to represent the real behaviour of our subjects, in order to classify the severity of the disorder of each one If you don't know the severity (for example, the amount each muscle contracts when it's stretched), then it seems like you could end up with a problem that cannot be solve...
by Thomas Uchida
Thu Jun 13, 2019 10:50 am
Forum: OpenSim
Topic: Use Fiber Force as input in Forward Dynamics tool
Replies: 12
Views: 318

Re: Use Fiber Force as input in Forward Dynamics tool

My intention is to use CMC to get excitation values from a real movement and my class should modify those excitations in the case the muscle is spastic. It's unclear what you're trying to do. Was spasticity present in the subject from whom you collected data? - If no: Simulating spasticity in a mus...