Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. To edit the configuration of motion data, expand the Motions Branch in the Navigator.
  2. Next, expand the current loaded motion (e.g. BothLegsWalk). You will see the motion data that you've associated. Right Click and select Edit Motion Objects...
  3. This will open the Inspect Motion Data window. In this window, you'll see any motion objects that OpenSim was able to automatically associate.
  4. Click to Highlight a motion object, then select Edit. Or if no objects were automatically generated, click Add to create a new one. You can have any number of motion objects for a given file with motion data.
  5. This will open the Create/Edit Motion Objects window. This panel is just like the one used to specify External Loads (see How to Use the Inverse Dynamics Tool). But in this case, it's being used to edit how the motion data's vectors are displayed.
    1. The Apply to drop down is not used for visualization.
    2. If you choose Body Force, the vector will be shown at the center of mass of the Body you select for Force Expressed In.
    3. If you choose Point Force, the vector will be shown at the point specified in Point Columns.
    4. You can choose to display all components of the vector or only one component (e.g. the X component), using the Component drop down.
    5. Specify the Force Columns and Point Columns using the drop down menus.
    6. Use the Force Expressed In and Point Expressed In drop downs to choose which body the force vector and point should be visualized in.
    7. Click OK.
  6. Once you've specified a motion object, you can Save it to reuse later by clicking Save... This creates an xml configuration file for the motion data.
  7. You can load any existing motion data specification files by clicking Load... and selecting the desired file.
  8. Click Close when you are done editing. When you play the current motion, you should see a vector visualizing the motion object.
Info

If you don't see the motion object you created, it might be because it is very small. Try changing the Force display size in the Property Editor and Outputs List. You can also change the color of vector, it's also possible that OpenSim couldn't automatically detect any known objects (markers or forces) in the file because the labels don't follow expected conventions.

...

As of OpenSim 3.2, you can also associate a file with to dictate muscle coloring. This is useful, for example to visualize the activation results from Static Optimization.

The color data muscle be included in an OpenSim storage (.sto) file. The file should have columns with the muscles names of interest, with values (e.g., activations) ranging from 0 to 1. Muscles with a value of zero will appear blue. Muscles with a value of one or great greater will appear red. The file should have an overlapping time range.

...

Panel
borderColorgray
bgColorwhite
borderWidth5
borderStylesolid

Next: Previewing Motion Capture (Mocap) Data

Previous: Loading Motions

Home: Loading and Saving Models and MotionsMotion Data