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
We can define segments with quaternion, but not with also translations.
Following error occur:
Traceback (most recent call last):
File "/home/user/Documents/PyCharm/plugins/python-ce/helpers/pydev/pydevd.py", line 1438, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/user/Documents/PyCharm/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/user/Documents/Programmation/BiorbdOptim/examples/sandbox/examples_articleBioptim/BioptimPaperExamples/somersault/main.py", line 16, in
ocp = prepare_ocp_quaternion(root_folder + "/models/JeChMesh_RootQuat.bioMod", final_time=1.5, n_shooting=300)
File "/home/user/Documents/Programmation/BiorbdOptim/examples/sandbox/examples_articleBioptim/BioptimPaperExamples/somersault/somersault/ocp.py", line 187, in prepare_ocp_quaternion
biorbd_model = biorbd.Model(biorbd_model_path)
File "/home/user/anaconda3/envs/Dev_bioptim/lib/python3.9/site-packages/biorbd_casadi/biorbd.py", line 6050, in init
_biorbd_casadi.Model_swiginit(self, _biorbd_casadi.new_Model(*args))
RuntimeError: Reading of file "JeChMesh_RootQuat.bioMod" failed with the following error:
QRanges and number of dof must be equal
Element: segment, named: PelvisRot
The text was updated successfully, but these errors were encountered:
We can define segments with quaternion, but not with also translations.
Following error occur:
Traceback (most recent call last):
File "/home/user/Documents/PyCharm/plugins/python-ce/helpers/pydev/pydevd.py", line 1438, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/user/Documents/PyCharm/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/user/Documents/Programmation/BiorbdOptim/examples/sandbox/examples_articleBioptim/BioptimPaperExamples/somersault/main.py", line 16, in
ocp = prepare_ocp_quaternion(root_folder + "/models/JeChMesh_RootQuat.bioMod", final_time=1.5, n_shooting=300)
File "/home/user/Documents/Programmation/BiorbdOptim/examples/sandbox/examples_articleBioptim/BioptimPaperExamples/somersault/somersault/ocp.py", line 187, in prepare_ocp_quaternion
biorbd_model = biorbd.Model(biorbd_model_path)
File "/home/user/anaconda3/envs/Dev_bioptim/lib/python3.9/site-packages/biorbd_casadi/biorbd.py", line 6050, in init
_biorbd_casadi.Model_swiginit(self, _biorbd_casadi.new_Model(*args))
RuntimeError: Reading of file "JeChMesh_RootQuat.bioMod" failed with the following error:
QRanges and number of dof must be equal
Element: segment, named: PelvisRot
The text was updated successfully, but these errors were encountered: