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

getForcePlates function returns an empty list. #209

Open
TheOne-1 opened this issue Apr 11, 2024 · 0 comments
Open

getForcePlates function returns an empty list. #209

TheOne-1 opened this issue Apr 11, 2024 · 0 comments

Comments

@TheOne-1
Copy link
Collaborator

This b3d file (and all the other files I tested) has force in many trials, but no GRF is returned by the function getForcePlates using the following code:

import nimblephysics as nimble

subject_path = '/AB06_split0.b3d'
subject = nimble.biomechanics.SubjectOnDisk(subject_path)
trial_protos = subject.getHeaderProto().getTrials()
for trial_ in trial_protos:
print(trial_.getForcePlates())

The above code follows that provided in AddBiomechanics repo post-processing code so it should be good.

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

No branches or pull requests

1 participant