Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mocap marker check #649

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Mocap marker check #649

wants to merge 4 commits into from

Conversation

melund
Copy link
Member

@melund melund commented Mar 29, 2022

This is prof-of-concept on how to use a python hook in a MoCap model analyse a c3d file and print the result of the analysis directly in the AnyBody output window.

To use the example:

  1. Open the file:
    Application/MocapExamples/Plug-in-gait_Simple/LowerExtremity.main.any

  2. Then change the #path ANYBODY_PATH_PYTHONHOME variable to point to a local
    python environment with ezc3d installed (e.g. conda install -c conda-forge ez3d"

    This step will not be necessary in 7.4 as this will come with ezc3d in the builtin python distribution.

  3. Load the model

The check is done in the file:
Tools/AnyMocap/c3d_marker_check.py

It is currently hard to debug python when running through a hook. I suggest running the python file directly when testing.

@melund melund marked this pull request as draft October 29, 2023 18:01
@melund melund changed the title WIP: Mocap marker check Mocap marker check Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant