@modelhealth/modelhealth
    Preparing search index...

    Type Alias MotionDataType

    MotionDataType:
        | "animation"
        | "kinematics_mot"
        | "kinematics_csv"
        | "markers_trc"
        | "markers_csv"
        | "model"

    The type of motion result data to retrieve from a processed activity, including the desired file format.

    // Download animation data (JSON only)
    const animationData = await client.motionDataForActivity(activity, ["animation"]);

    // Download kinematics in MOT format
    const motData = await client.motionDataForActivity(activity, ["kinematics_mot"]);

    // Download kinematics in both MOT and CSV formats
    const bothFormats = await client.motionDataForActivity(activity, ["kinematics_mot", "kinematics_csv"]);
    • "animation" — JSON only
    • "kinematics_mot" — Kinematics in OpenSim MOT format
    • "kinematics_csv" — Kinematics in CSV format
    • "markers_trc" — Marker trajectories in TRC format
    • "markers_csv" — Marker trajectories in CSV format
    • "model" — OpenSim model (.osim), only available in neutral activities

    kinematics_* types are only available in dynamic activities.