You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
EveCharbie
changed the title
Problem following biorbd 1.11.0
Problem following biorbd 1.11.0 ?
Apr 1, 2024
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'
The text was updated successfully, but these errors were encountered: