ADVRHumanoids / casadi_kin_dyn

Package for generation of symbolic (SX) expressions of robot kinematics and dynamics. Based on URDF and Pinocchio.
86 stars 11 forks source link

Casadi Related Error #2

Open UM-A opened 10 months ago

UM-A commented 10 months ago

Hi, I was looking to find something similar to casadi_kin_dyn to find symbolic equations from urdf. I managed to set it up but for some reason I get the following error:

RuntimeError Traceback (most recent call last) /tmp/ipykernel_61422/130723631.py in ----> 1 id_str = kindyn.centerOfMass() 2 #fk = Function.deserialize(fk_str) 3 #print(fk)

~/anaconda3/envs/mpc/lib/python3.7/site-packages/casadi/casadi.py in deserialize(*args) 13513 13514 """

13515 return _casadi.Function_deserialize(*args) 13516 13517 deserialize = staticmethod(deserialize)

RuntimeError: .../casadi/core/function.cpp:1084: Not implemented

Looking forward to your response.