Change in the tag name location_in_parent

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Vishal R
Posts: 47
Joined: Wed Oct 29, 2014 4:20 pm

Change in the tag name location_in_parent

Post by Vishal R » Thu Sep 06, 2018 8:37 am

Hi,

I loaded the gait2392 model from the Resources folder that is available in the OpenSim default installation. After making a few changes in the model in GUI(OpenSim4) I saved the model to a new osim file. It looks very different from the earlier one.
I was interested in finding the tag

Code: Select all

<location_in_parent>-0.005 -0.3645 0</location_in_parent>
for a body. I cannot find them anymore. May I know how to find the location_in_parent tag in the newly generated osim file?


Thanks,
Vishal

Tags:

User avatar
Thomas Uchida
Posts: 1778
Joined: Wed May 16, 2012 11:40 am

Re: Change in the tag name location_in_parent

Post by Thomas Uchida » Thu Sep 13, 2018 5:45 pm

May I know how to find the location_in_parent tag in the newly generated osim file?
In OpenSim 4.0, Joints define the relative motion of two PhysicalFrames; the offset [-0.005, -0.3645, 0] should appear as the translation property of one of the PhysicalFrames. Additional information can be found here:
- Doxygen documentation for Joint (https://simtk.org/api_docs/opensim/api_ ... ml#details) and OffsetFrame (https://simtk.org/api_docs/opensim/api_ ... ml#details)
- "Frames" section of the API Guide (https://simtk.org/api_docs/opensim/api_ ... tml#frames)

POST REPLY