Motion capture data can be previewed in OpenSim to verify that preprocessing was done correctly and that data is in agreement with the intended model. See __40__Preparing Your Data for more information about how to import your data into OpenSim. In some cases, you can also use OpenSim's feature for __40__Associating Data with a Motion. For example, if you've already run IK and you want to visualize marker data or ground reaction forces in sync with the inverse kinematics trial you should use the Associate Data motion feature.
...
- Use the motion slider in the toolbar to go through different frames
- Synchronize the motions from different motion files. These other motions could be either motion capture files or results from OpenSim tools. For example, marker trajectories and ground reaction forces can be synchronized and superimposed on the result of a forward simulation.
Visualizing
...
Experimental Markers in OpenSim
Marker trajectories are expected to be contained within a .trc file. The ExperimentalData model will contain the loaded motion file (e.g., subject01_walk1.trc) with marker data. The Markers node will list each individual marker found in the file (figure below). Nodes corresponding to individual markers have the following options, accessible by right-clicking the mouse:
- Show: Enabled only if a marker is hidden
- Show Only: Hides all other markers except for those selected
- Toggle Trail DisplayHide: Toggles Hides the display of a line representation of the trajectory of selected marker(s)
In addition, the following functionality is supported:
- Double clicking a specific marker node in the navigator, highlights the corresponding visual with a selection box in the Visualizer Window.
- Selecting a marker in the Visualizer Window highlights the corresponding node in the Navigator tree.
Navigator View of a Trajectory Data File
...
External forces (such as ground reaction forces) in OpenSim are contained in a .mot file. The header of the selected force (.mot) file is the same as that expected by OpenSim tools (__40__Motion (.mot) Files).
For the ground reaction forces used by the gait model, the column labels are shown below (for 2 external forces force1, force2, torque1, torque2):
...
The data previewer expects groups of 6 columns for a force of the form “body”_”ForceName”_{vx, vy, vz, px, py, pz}, where vi corresponds to each component of the force and pi corresponds to each component of the location of the force (e.g., center of pressure) and 3 columns for a torque of the form “body”_”TorqueName”_{x, y, z}, corresponding to each component of the applied torque. Note that this naming convention is only necessary for previewing purposes. OpenSim tools employ a new an External Loads user interface enabling you to specifiy any specify an arbitary number of forces, along with points of application, or torques to a model during any simulation or analysis.
...
However, the visualization is transformed to enable you to modify the preprocessing tools, as needed. To access the visual transformation dialog window:
Transform Data Previewer Window |
| ||
Preview of Motion Capture Data in OpenSim |
|
Transform Data Previewer Window, Preview of Motion Capture Data in OpenSim
...
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Next: __40__Importing and Exporting SIMM Models Preview Sensor Data Previous: __40__ Associating Data with a Motion Home: __40__ Preparing Your Data |