Getting the Jacobian of a SubRobotLink throws error:
Traceback (most recent call last):
File "example.py", line 7, in <module>
subrobot_model.link(0).getJacobian([0,0,0])
File "/usr/local/lib/python3.8/dist-packages/Klampt-0.9.0-py3.8-linux-x86_64.egg/klampt/model/subrobot.py", line 424, in getJacobian
self._robot.fromfull(self._link.getJacobian(p))
File "/usr/local/lib/python3.8/dist-packages/Klampt-0.9.0-py3.8-linux-x86_64.egg/klampt/model/subrobot.py", line 146, in fromfull
raise ValueError("Invalid object type, not an integer, configuration, or Trajectory")
ValueError: Invalid object type, not an integer, configuration, or Trajectory
Getting the Jacobian of a SubRobotLink throws error:
Example code to reproduce:
This might be because
getJacobian
returns a numpy array, which it looks likefromfull
is not checking for.