Search found 1778 matches

by Thomas Uchida
Thu Jan 11, 2024 1:57 pm
Forum: OpenSim
Topic: clarifying "Stiffness" term in HuntCrossleyForce settings
Replies: 4
Views: 594

Re: clarifying "Stiffness" term in HuntCrossleyForce settings

Simbody is open source; the code can be found on GitHub here: https://github.com/simbody/simbody . I presume the calculation you would be interested in is HuntCrossleyForceImpl::calcForce() , which is here: https://github.com/simbody/simbody/blob/master/Simbody/src/HuntCrossleyForce.cpp#L101 . If th...
by Thomas Uchida
Wed Jan 10, 2024 12:49 pm
Forum: OpenSim
Topic: clarifying "Stiffness" term in HuntCrossleyForce settings
Replies: 4
Views: 594

Re: clarifying "Stiffness" term in HuntCrossleyForce settings

Some information can be found in the Simbody Theory Manual ( https://github.com/simbody/simbody/blob/master/Simbody/doc/SimbodyTheoryManual.pdf ). See, in particular, Sections 11.1 ("General Force Subsystem") and 11.2 ("Hertz/Hunt and Crossley contact model subsystem"). The following paper contains ...
by Thomas Uchida
Fri Jan 05, 2024 11:54 pm
Forum: OpenSim
Topic: XML error
Replies: 3
Views: 473

Re: XML error

It's difficult to diagnose the issue without more information about how to reproduce the error. If you are attempting to add body segments by modifying an existing osim file manually (e.g., in Notepad++), then there may be an error in one or more of the Socket paths. If you are attempting to add bod...
by Thomas Uchida
Fri Dec 22, 2023 3:13 am
Forum: OpenSim
Topic: Meaning of motion quantity
Replies: 1
Views: 184

Re: Meaning of motion quantity

Descriptions of a model's coordinates can typically be found in a publication (see the "publications" tag at the top of the osim file). Information about some popular models can be found on the "Musculoskeletal Models" page in the documentation ( https://simtk-confluence.stanford.edu:8443/display/Op...
by Thomas Uchida
Fri Dec 15, 2023 2:47 am
Forum: OpenSim
Topic: Adding ACL and PCL to gait2392 model
Replies: 1
Views: 358

Re: Adding ACL and PCL to gait2392 model

You might want to take a look at some papers that have done this already (e.g., search Google Scholar for "OpenSim ligament"). Some of these models have been uploaded to this website (e.g., https://simtk.org/projects/kneeligament) which you could use as a starting point.
by Thomas Uchida
Fri Dec 15, 2023 2:38 am
Forum: OpenSim
Topic: Converting Older OpenSim models to work on OpenSim 4..3
Replies: 1
Views: 377

Re: Converting Older OpenSim models to work on OpenSim 4..3

Initially it gives an error (check below image). The message in the "Warning" window is just a warning. Please see the "Upgrade Notes for OpenSim 4.0" page in the documentation for more information about this message (specifically, see the information about updating joint types in the "Upgrading yo...
by Thomas Uchida
Sat Dec 02, 2023 5:12 pm
Forum: OpenSim
Topic: How to use the BodyActuator?
Replies: 1
Views: 272

Re: How to use the BodyActuator?

An example can be found in testActuators.cpp (see the testBodyActuator() method here: https://github.com/opensim-org/opensim- ... s.cpp#L546). The BodyActuator is created and configured starting at line 648.
by Thomas Uchida
Mon Nov 20, 2023 2:04 pm
Forum: OpenSim
Topic: Using MATLAB to Change Spring Properties
Replies: 1
Views: 262

Re: Using MATLAB to Change Spring Properties

Please see the "Common Scripting Commands" page in the documentation ( https://simtk-confluence.stanford.edu:8443/display/OpenSim/Common+Scripting+Commands ) and search for the string "downcast". In your case, the code will be something like the following: spring = PathSpring.safeDownCast( model.get...
by Thomas Uchida
Sat Nov 11, 2023 7:35 am
Forum: OpenSim
Topic: Setting marker weight in z direction to 0
Replies: 4
Views: 607

Re: Setting marker weight in z direction to 0

You could try the following: 1. Find the coordinates of the marker (x,y,z) with respect to the segment coordinate system. 2. Set z=0. 3. Express the new marker location with respect to Ground. If you're using the API, you can use the Frame class to perform steps 1 and 3; see Frame::findStationLocati...