Versions Compared

Key

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

...

If you load a kinematics file for walking, you can associate the corresponding ground reaction force file or trc file with marker data. You can also use the associate feature to visualize the results of analyses, like a __40__ Joint Reactions Analysis or __40__Induced Acceleration Analysis. To associate data from a motion file to a motion that is already loaded into OpenSim:

...

  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 __40__ 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 __40__Property Editor. 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.

Info

The xml configuration file for visualizing motion data is the same as the one used to specify External Loads for Inverse Dynamics and other tools (see __40__ How to Use the Inverse Dynamics Tool). Note that the Applied to setting has no effect on visualization, but does affect applied External Loads. The Component selection used for visualization does not affect applied External Loads–all components selected are applied in Inverse Dynamics and other tools.

...

Panel
borderColorgray
bgColorwhite
borderWidth5
borderStylesolid

Next: __40__Previewing Motion Capture (Mocap) Data

Previous: __40__ Loading Motions

Home: __40__Loading and Saving Models and Motions