Scale Marker File

The topics covered in this section include:

The scale marker file contains a list of the virtual markers that are placed on the body segments of the model. An example of a marker file is shown below.

Example: XML file for a scale marker file

gait2354_Scale_MarkerSet.xml
<?xml version="1.0" encoding="UTF-8"?> 

<MarkerSet name="gait2354_Scale"> 

   <objects> 

      <Marker name="Sternum"> 
         <location> 0.07 0.3 0 </location> 
         <body> torso </body> 
         <fixed> false </fixed> 
      </Marker> 

      <Marker name="R.Acromium"> 
         <location> -0.03 0.44 0.15 </location> 
         <body> torso </body> 
         <fixed> false </fixed> 
      </Marker> 

      <Marker name="L.Acromium"> 
         <location> -0.03 0.44 -0.15 </location> 
         <body> torso </body> 
         <fixed> false </fixed> 
      </Marker> 

      <Marker name="Top.Head"> 
         <location>0.00084 0.657 0.0</location> 
         <body> torso </body> 
         <fixed> false </fixed> 
      </Marker> 

<!– . . additional <Marker> tags cut for brevity . . –> 

   </objects> 

</MarkerSet> 

Specifying a List of Markers

The list of markers are enclosed inside the opening and closing tags <MarkerSet> and </MarkerSet>.

Specifying a Marker for the Generic Model

Specifying a marker consists of specifying its <location> in Cartesian coordinates, as well as the <body> to which the marker is attached (i.e., which body its location is measured with respect to). The marker name is given by the name attribute of the <Marker> tag (e.g., Sternum for the first marker in the example above).

The <fixed> property is used in the marker placement step and can be set to either true or false. If it is set to false, the marker will move during marker placement to match the position of its corresponding experimental marker. Otherwise it will stay fixed.

 

OpenSim is supported by the Mobilize Center , an NIH Biomedical Technology Resource Center (grant P41 EB027060); the Restore Center , an NIH-funded Medical Rehabilitation Research Resource Network Center (grant P2C HD101913); and the Wu Tsai Human Performance Alliance through the Joe and Clara Tsai Foundation. See the People page for a list of the many people who have contributed to the OpenSim project over the years. ©2010-2024 OpenSim. All rights reserved.