Developed and validated a predictive simulation framework for treadmill gait using direct collocation methods via OpenSim Moco.

This project was divided into two tasks:
(1) We created a simple model of a block on a treadmill to understand how to develop a framework to track and predict motion between a moving platform and a body moving relative to it. We simulated the block falling, rotating, and translating to mimic heel strike, heel rocker, and translation of the foot posteriorly with respect to the treadmill.

(2) Modified the example2DWalking musculoskeletal model and MATLAB code to track and predict treadmill gait at slow, comfortable, and fast belt speeds.

What is included in the download:
(1) Block Model
- Model files (.osim) - note model file is the same for the translation & falling simulations,
but slightly different for rotation, so there are 2 different model files
- Manually generated reference coordinates data (.sto) for each tracking problem
- MATLAB scripts (.m) written to track & predict each block motion

(2) Treadmill Gait Model
- Model files (.osim) - note the treadmill speed is defined in the model so the model files
are different for each speed condition, so there are 3 different model files
- Reference coordinates data for tracking problems (.sto)
- One MATLAB script to track & predict treadmill gait (.m)- note: this script asks the user to
select their model file from the current folder, so just be sure to select the desired speed
- Solutions generated from tracking & predictive problems for all three speeds

Note: To perform comparison with the overground gait simulation described in the manuscript run the example2DWalking code in the OpenSim Moco download.