-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadMe.txt
46 lines (31 loc) · 2.62 KB
/
ReadMe.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
IMUVisionBiomechanics
Owen Douglas Pearl | Carnegie Mellon University
Micro Robotics Lab | Musculoskeletal Biomechanics Lab
----------------------------------------------------------------------------------------------------------
Introduction and Proper Usage:
This repository contains code for running 4 classes of simulations in MATLAB with a nine DOF biomechanical
model for estimating full body kinematics (and dynamics and contact forces if using direct collocation):
(1) IMU and vision data fusion (tracking) via direct collocation (kinematics+dynamics equations of motion)
(2) IMU only data tracking (and denoising) via direct collocation (kinematics+dynamics equations of motion)
(3) Unconstrained IMU and vision data fusion via inverse kinematics (using kinematics equations of motion)
(4) Unconstrained kinematics calculations using computer vision keypoints only (using kinematics equations of motion)
The code is set up to run on sample experimental data from the article below as well as synthetic created
from sample walking mocap data contained in open source software OpenSim's installation documents. Users
can validate findings from the referenced article with the sample experimental data as well as explore
methodological trade-offs using synthetically generated data with sample mocap data. However,
it should be noted that differences may occur when using the synthetically generated
data from mocap data since it incorporate simplified assumptions and noise models that are not as
representative of the true noise backgrounds of experimental IMU and computer vision data used to generated
the findings of the referenced article. However, it does still illustrate the trade-offs accurately.
Be sure to add all files to the MATLAB path in order to run all code from the "Main" script.
Please see the attached License.txt file for rules on use and redistribution
(Copyright (c) 2022 Owen Douglas Pearl via MIT License)
When using this work, we ask that you please cite the relevant literature to properly credit the authors:
Pearl, O., Shin, S., Godura, A., Bergbreiter, S., & Halilaj, E. (2023).
Fusion of video and inertial sensing data via dynamic optimization of a biomechanical model.
Journal of Biomechanics, 155, 111617. https://doi.org/10.1016/j.jbiomech.2023.111617
The sample experimental data is adapted from the Total Capture Dataset:
Total Capture: 3D Human Pose Estimation Fusing Video and Inertial Sensors
cvssp.org/data/totalcapture/data/
The direct collocation optimal control problem is transcribed using the OptimTraj toolbox:
OptimTraj. Matthew P. Kelly. May 27, 2016. https://github.com/MatthewPeterKelly/OptimTraj