ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
So apparently the problem was that I did not have the correct/supported version of python-sympy installed. I followed these instructions to prevent the
sympy.core.sympify.SympifyError: SympifyError: None
error. However now I am getting the following error instead:
Traceback (most recent call last):
File "/home/astrid/git/openrave/python/ikfast.py", line 6382, in <module>
chaintree = solver.generateIkSolver(options.baselink,options.eelink,options.freeindices,solvefn=solvefn)
File "/home/astrid/git/openrave/python/ikfast.py", line 1640, in generateIkSolver
chaintree = solvefn(self, LinksRaw, jointvars, isolvejointvars)
File "/home/astrid/git/openrave/python/ikfast.py", line 1817, in solveFullIK_Translation3D
return self._solveFullIK_Translation3D(LinksRaw,jointvars,isolvejointvars,basepos)
File "/home/astrid/git/openrave/python/ikfast.py", line 1827, in _solveFullIK_Translation3D
raise self.CannotSolveError('need 3 joints')
__main__.CannotSolveError: 'need 3 joints'
Anybody knows how to prevent this error?
2 | No.2 Revision |
So apparently the problem was that I did not have the correct/supported version of python-sympy installed. I followed these instructions to prevent the
sympy.core.sympify.SympifyError: SympifyError: None
error. However now I am getting the following error instead:
Traceback (most recent call last):
File "/home/astrid/git/openrave/python/ikfast.py", line 6382, in <module>
chaintree = solver.generateIkSolver(options.baselink,options.eelink,options.freeindices,solvefn=solvefn)
File "/home/astrid/git/openrave/python/ikfast.py", line 1640, in generateIkSolver
chaintree = solvefn(self, LinksRaw, jointvars, isolvejointvars)
File "/home/astrid/git/openrave/python/ikfast.py", line 1817, in solveFullIK_Translation3D
return self._solveFullIK_Translation3D(LinksRaw,jointvars,isolvejointvars,basepos)
File "/home/astrid/git/openrave/python/ikfast.py", line 1827, in _solveFullIK_Translation3D
raise self.CannotSolveError('need 3 joints')
__main__.CannotSolveError: 'need 3 joints'
Anybody knows how Okay, and with the help of this post I was able to prevent get past this error?error as well.
3 | No.3 Revision |
So apparently the problem was that I did not have the correct/supported version of python-sympy installed. I followed these instructions to prevent the
sympy.core.sympify.SympifyError: SympifyError: None
error. However now I am getting the following error instead:
Traceback (most recent call last):
File "/home/astrid/git/openrave/python/ikfast.py", line 6382, in <module>
chaintree = solver.generateIkSolver(options.baselink,options.eelink,options.freeindices,solvefn=solvefn)
File "/home/astrid/git/openrave/python/ikfast.py", line 1640, in generateIkSolver
chaintree = solvefn(self, LinksRaw, jointvars, isolvejointvars)
File "/home/astrid/git/openrave/python/ikfast.py", line 1817, in solveFullIK_Translation3D
return self._solveFullIK_Translation3D(LinksRaw,jointvars,isolvejointvars,basepos)
File "/home/astrid/git/openrave/python/ikfast.py", line 1827, in _solveFullIK_Translation3D
raise self.CannotSolveError('need 3 joints')
__main__.CannotSolveError: 'need 3 joints'
Okay, and with the help of this post I was able to get past this error as well.
However, how can I deal with the mimi joints for example RHipYawPitch joint in the leg_right chain?
Has anybody been able to successfully set up the fastik plugin in that case and can advice me what to do?
Any help appreciated.
4 | No.4 Revision |
So apparently the problem was that I did not have the correct/supported version of python-sympy installed. I followed these instructions to prevent the
sympy.core.sympify.SympifyError: SympifyError: None
error. However now I am getting the following error instead:
Traceback (most recent call last):
File "/home/astrid/git/openrave/python/ikfast.py", line 6382, in <module>
chaintree = solver.generateIkSolver(options.baselink,options.eelink,options.freeindices,solvefn=solvefn)
File "/home/astrid/git/openrave/python/ikfast.py", line 1640, in generateIkSolver
chaintree = solvefn(self, LinksRaw, jointvars, isolvejointvars)
File "/home/astrid/git/openrave/python/ikfast.py", line 1817, in solveFullIK_Translation3D
return self._solveFullIK_Translation3D(LinksRaw,jointvars,isolvejointvars,basepos)
File "/home/astrid/git/openrave/python/ikfast.py", line 1827, in _solveFullIK_Translation3D
raise self.CannotSolveError('need 3 joints')
__main__.CannotSolveError: 'need 3 joints'
Okay, and with the help of this post I was able to get past this error as well.
However, how can I deal with the mimi mimic joints for example RHipYawPitch joint in the leg_right chain?
Has anybody been able to successfully set up the fastik plugin in that case and can advice me what to do?
Any help appreciated.
5 | No.5 Revision |
So apparently the problem was that I did not have the correct/supported version of python-sympy installed. I followed these instructions to prevent the error:
sympy.core.sympify.SympifyError: SympifyError: None
error. However now I am getting the following error instead:
Traceback (most recent call last):
File "/home/astrid/git/openrave/python/ikfast.py", line 6382, in <module>
chaintree = solver.generateIkSolver(options.baselink,options.eelink,options.freeindices,solvefn=solvefn)
File "/home/astrid/git/openrave/python/ikfast.py", line 1640, in generateIkSolver
chaintree = solvefn(self, LinksRaw, jointvars, isolvejointvars)
File "/home/astrid/git/openrave/python/ikfast.py", line 1817, in solveFullIK_Translation3D
return self._solveFullIK_Translation3D(LinksRaw,jointvars,isolvejointvars,basepos)
File "/home/astrid/git/openrave/python/ikfast.py", line 1827, in _solveFullIK_Translation3D
raise self.CannotSolveError('need 3 joints')
__main__.CannotSolveError: 'need 3 joints'
Okay, and with the help of this post I was able to get past this error as well.
However, how can I deal well.
So with the mimic joints for example RHipYawPitch joint in the leg_right chain?
Has anybody been command:
python ~/git/openrave/python/ikfast.py --robot=nao.rounded.dae --iktype=translationdirection5d --baselink=1 --eelink=36 --freeindex=32 --savefile=ikfast61_arm_hand_left.cpp
I am now able to successfully set up the fastik plugin in that case create the fastIK cpp file for the arm_hand_left chain. And
python ~/git/openrave/python/ikfast.py --robot=nao.rounded.dae --iktype=transform6d --baselink=1 --eelink=31 --savefile=ikfast_leg_left.cpp
gives me the fastIK cpp file for the leg_left chain.
However, the same does not work for the leg_right chain. When using iktype translationdirection5d
I get the error: ValueError: No nonzero pivot found; inversion failed.
When using iktype transform6d
the error is: CannotSolveError: 'need 6 joints'
So my remaining question is, how to generate the fastIK cpp file for NAO's leg_right chain which contains a mimic joint (which I am assuming is what is causing the problems here).
Any advice and can advice me what to do?
Any help would be appreciated.