You are viewing the documentation for OpenSim 3.x. Are you looking for the latest OpenSim 4.0 Documentation?

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

 

  • No labels