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

Problem following biorbd 1.11.0 ? #97

Closed
EveCharbie opened this issue Apr 1, 2024 · 1 comment
Closed

Problem following biorbd 1.11.0 ? #97

EveCharbie opened this issue Apr 1, 2024 · 1 comment

Comments

@EveCharbie
Copy link
Contributor

Traceback (most recent call last):
File "/home/charbie/Documents/Programmation/BiorbdOptim/bioptim/examples/getting_started/pendulum.py", line 208, in
main()
File "/home/charbie/Documents/Programmation/BiorbdOptim/bioptim/examples/getting_started/pendulum.py", line 157, in main
sol.animate(n_frames=100)
File "/home/charbie/Documents/Programmation/BiorbdOptim/bioptim/optimization/solution/solution.py", line 1275, in animate
self.ocp.nlp[i].model.animate(
File "/home/charbie/Documents/Programmation/BiorbdOptim/bioptim/models/biorbd/biorbd_model.py", line 756, in animate
all_bioviz.append(bioviz.Viz(biorbd_model.path, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/charbie/miniconda3/envs/dev_bioptim/lib/python3.11/site-packages/bioviz/init.py", line 255, in init
for i, rt in enumerate(self.allGlobalJCS.get_data(Q=self.Q, compute_kin=False)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/charbie/miniconda3/envs/dev_bioptim/lib/python3.11/site-packages/bioviz/interfaces_collection.py", line 37, in get_data
self.get_data_func(**kwargs)
File "/home/charbie/miniconda3/envs/dev_bioptim/lib/python3.11/site-packages/bioviz/interfaces_collection.py", line 287, in _get_data_from_eigen
allJCS = self.m.allGlobalJCS()
^^^^^^^^^^^^^^^^^^^^^
TypeError: Joints.allGlobalJCS() missing 1 required positional argument: 'Q'

@EveCharbie EveCharbie changed the title Problem following biorbd 1.11.0 Problem following biorbd 1.11.0 ? Apr 1, 2024
@pariterre
Copy link
Member

Fixed in #98

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

2 participants