You are viewing the documentation for OpenSim 2.4. Are you looking for the latest OpenSim 4.0 Documentation?
Specifying External Loads in Tutorial 3
OpenSim 2.4 has a new process for applying external loads that is more flexible, but requires an additional set-up step. The External Loads setup file (subject01_walk1_grf.xml) needed in the Inverse Dynamics section of Tutorial 3 can be generated using the following steps. You can also download this file from the OpenSim downloads page: https://simtk.org/project/xml/downloads.xml?group_id=91
- From within the Inverse Dynamics Tool, select the External Loads tab and make sure the External Loads box is checked.
- Delete the text currently in the red-highlighted box if any.
- Edit the External Loads settings by clicking the pencil icon.
- Click on the folder icon next to the Force data file box. Check that you are in the Gait2354_Simbody folder and select subject01_walk1_grf.mot as the Force data file. This file describes the force applied at the foot’s center of pressure described in the lab reference frame (that's the case for the data files in the tutorial). You may be asked to re-save the *.mot file with the GRFs if the labels are not unique (which is true for most GRF files pre-2.0). If this occurs, click save and continue or re-name so you don't overwrite the original file.
- Similarly, select Subject01_walk1_ik.mot as the Kinematics for external loads file.
- Check the box to filter at 6Hz. This is the suggested level for walking. This value should be higher for running (10-20Hz), and maybe even higher for quicker movements or movements with higher impact.
- Forces listed in the motion file are added as individual forces by hitting the Add button.
- Provide a name (e.g. “Right_GRF”)
- Select the body where the force is applied: calcn_r
- Check Applies Force and select Point Force
- Force Columns: Select the labels/columns from the grf.mot file that contains the forces. For this file, it is ground_force_v. Select “ground_force_vx”, and then y & z will be selected automatically
- Point Columns: Select the labels/columns from the grf.mot file that contains the points where those forces are applied. For this file, it is ground_force_p. Select "ground_force_px" and then y & z will be selected automatically.
- The GRF free moment is a torque, so check “Applies Torque”
- Torque Columns: scroll down and select “ground_torque_x”
- Both the GRF and CoP are expressed in the ground (lab) frame
- Click OK
- Repeat (d) for the left leg by clicking "Add" again.
- Hit Save and enter a filename for the External Force: subject01_walk1_grf.xml
You can now proceed with running the Inverse Dynamics Tool as described in the tutorial. If you reload the Inverse Dynamics settings file, the External Loads box should no longer be highlighted in red.
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.