MoJoXlab Motion Analysis Software Toolkit

MoJoXlab
MoJoXlab is a MATLAB based custom motion capture analysis software toolkit whose aim is to produce freely available motion capture analysis software to be used by anyone interested in generating lower limb joint kinematics waveforms using any suitable wearable inertial measurement units (IMUs).
It can generate joint angles of Ankle, Hip and Knee joints in Sagittal, Frontal and Transverse (not available for Ankle joint) planes for different functional tasks such as walking, squatting, and jumping. The joint kinematics for MoJoXlab is based on Joint Coordinate System (JCS) as proposed by Grood and Suntay. MoJoXlab takes sensor orientation data in quaternions as input and outputs joint angles in degrees. The algorithm considers a static calibration step, where sensor data is captured for calibration purposes while the participant maintains a standing pose. This calibration step is then used to calculate the joint angles for the dynamic phase of the motion.

Data Structure

Currently, MoJoXlab is designed to be used on a 7 sensor based setup, with sensors placed in the Pelvis, both thighs, both shanks and both feet. Input files should be in quaternions for 7 sensors with 28 columns of data in the following order, where each sensor consists of 4 columns of quaternion orientations:

  • Pelvis [qa, qb, qc, qd],
  • Right Thigh [qa, qb, qc, qd],
  • Right Shank [qa, qb, qc, qd],
  • Right Foot [qa, qb, qc, qd],
  • Left Thigh [qa, qb, qc, qd],
  • Left Shank [qa, qb, qc, qd],
  • Left Foot [qa, qb, qc, qd],

Output files will contain joint angles with 16 columns of data in the following order:

  1. Ankle Left Sagittal,
  2. Ankle Left Frontal,
  3. Ankle Right Sagittal,
  4. Ankle Right Frontal,
  5. Hip Left Sagittal,
  6. Hip Left Frontal,
  7. Hip Left Transverse,
  8. Hip Right Sagittal,
  9. Hip Right Frontal,
  10. Hip Right Transverse,
  11. Knee Left Sagittal,
  12. Knee Left Frontal,
  13. Knee Left Transverse,
  14. Knee Right Sagittal,
  15. Knee Right Frontal,
  16. Knee Right Transverse.

The software workflow: –

Get Static Calibration Data:

Use this button to select the static calibration data file. A dialog box will open to allow you to select the calibration data file. Be careful as sometimes the dialog box opens behind the app and becomes difficult to see. After you have selected the calibration data file. The filepath and filename is shown on the adjacent text field.

[sample data is provided with the main zip folder with filename: sample_StaticCalibrationDataFile.csv]

Get Activity Data:
Use this button to select the dynamic activity file for example, walking, jumping or squatting activity data file. A dialog box will open to allow you to select the calibration data file. Be careful as sometimes the dialog box opens behind the app and becomes difficult to see. After you have selected the calibration data file. The filepath and filename is shown on the adjacent text field.

[sample data is provided with the same zip folder with filename:
sample_ActivityDataFile.csv]

Sampling Frequency:
Use this field to input the sampling frequency of the activity data in Hertz (Hz). [use 60 Hz for sample data]

Calculate Joint Angles:
Use this button to calculate the joint angles. A dialog box will open that will allow you to select the output folder. Be careful as sometimes the dialog box opens behind the app and becomes difficult to see. The output data file will be saved in this folder. The filename is automatically generated and will be shown on the adjacent text field.

Joint Angle Waveforms:
The plotting area shows the joint angles calculated in degrees, for either Ankle, Hip or Knee joints, showing left or right side, for either sagittal, frontal or transverse planes.

MoJoXlab software is available on the following links:

MoJoXlab setup file for Windows
MoJoXlab setup file for macOS

Comments

  • Henrique Brito

    Is it possible to use mojoxlab with less than 7 sensors?
    For example, only using 3 sensors unilaterally on the pelvis, thigh and shank?

    Thank you

  • Mohammad Al-Amri

    Hi Henrique
    Thank you for your interest in our software. The MoJoXlab is still yet to do this but we could work with you on getting this done for you is you are interested to use the software.
    are you planing to use this for clinical research?
    Regards,
    Mohammad

Leave a Reply

Your email address will not be published. Required fields are marked *