API 4.4.1-2022-10-19-2c4045e59
For MATLAB, Python, Java, and C++ users
Moco

Moco is a part of OpenSim for solving optimal control problems for musculoskeletal systems defined as OpenSim models.

The package has Python, MATLAB, and XML interfaces; the core library is written in C++.

Here are some problems you can solve with Moco:

  • Solve for the muscle activity that tracks a known motion.
  • Solve for a new motion that optimizes some cost (e.g., effort).
  • Solve for mass properties that minimize residual (unrealistic) forces.

Sections of the documentation:

Other resources: