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

Soccer Kick Example

This examples is for students and educators interested in how elements of a musculoskeletal model come together to generate simulations of human movement. 

The soccer kick is meant to be compelling, challenging, and fun, allowing students to experiment with motor control strategies.

 You can download the files for the example at the SimTK Project:  https://simtk.org/home/soccerkickmodel. Installation instructions are below.

Installation

  1. Download the installer (e.g. OpenSim-SoccerKick-Installer-vX-win32) and run to install OpenSim on a Windows machine.  Follow the instructions, accepting the defaults.  

    (If you have other OpenSim installations on the same machine and you're an API user, select to not add to the PATH).

  2. Launch the OpenSim Exhibit GUI.  It should appear under Programs->OpenSim Exhibit (2.4) or use the desktop shortcut.
  3. You also need to make a one-time change to the preferences.  Select Edit->Preferences.  Then:
    1. Display Contact Geometry=Off, so that the visuals of the simplified geometry used for contact doesn't clutter the screen.
    2. Persist Models=Off, so that automatic restoration of loaded models doesn't interfere with demo upon OpenSim restart.
    3. Make sure AntiAliasingFrames is set to zero.
  4. Select Help -> CustomTools -> Soccer.oscript.  You will need to perform this step every time you relaunch OpenSim.
  5. This will launch three windows:  Soccer Kick Controls, Instructions Window, and View.
  6. If the View window is black, click on the View window and drag the mouse to rotate the view slightly.
  7. Make sure that the Soccer Kick Controls window is large enough to include all of the sliders and buttons.  Drag the separator between the controls window and Instructions Window to fit more text/instructions and eliminate white space.  (The bottom button in the Soccer Controls window is "Reset View".)
 

Troubleshooting

  1. If you need to restart OpenSim, to restore the example, select Help -> CustomTools -> Soccer.oscript.
  2. If the View, Controls or Instruction window are accidentally closed, select "Window"->"Add View", "Open Parameters Window", "Open Instructions Window" respectively.
  3. Use the "Reset View" button, if you want to reset the original view on the soccer player and goal.
  4. If the layout of the application is incorrect and you cannot restore it by dragging and re-docking or reopening windows:
    1. Close the application.
    2. Find the directory .opensim (usually under C:/Documents and Settings/AppData/Roaming/) and remove it. 
    3. Repeat steps 5 through 7 above.

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.