issues with ikfast

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

issues with ikfast

piero zucchelli
Hi, i am trying to evaluate the inverse kinematics generator without success.

I am using ikfast.py and the following syntax - but it complains that the "lang" parameter is undefined - independenty if i put the "--lang=cpp" parameter or not. The file fkfile.txt has been generated according to the manual instructions, please let me know if you'd have any suggestions or if i am doing something wrong.

best,
Piero

-----------------

c:\Program Files\openrave\share\openrave\openravepy>python ./ikfast.py --fkfile=fkfile.txt --baselink=0 --eelink=7  --savefile=piero.cpp 1 2 3 4 5 6
Traceback (most recent call last):
  File "./ikfast.py", line 3014, in <module>
    code = kinematics.generateIkSolver(options.baselink,options.eelink,solvejoints,options.freeparams,options.usedummyjoints,solvefn=solvefn,lang=lang)
NameError: name 'lang' is not defined

c:\Program Files\openrave\share\openrave\openravepy>python ./ikfast.py --lang=cpp --fkfile=fkfile.txt --baselink=0 --eelink=7  --savefile=piero.cpp 1 2 3 4 5 6
Traceback (most recent call last):
  File "./ikfast.py", line 3014, in <module>
    code = kinematics.generateIkSolver(options.baselink,options.eelink,solvejoints,options.freeparams,options.usedummyjoints,solvefn=solvefn,lang=lang)
NameError: name 'lang' is not defined


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|

Re: issues with ikfast

Rosen Diankov
Administrator
Hi Piero,

fixed in r1657.

The command line to ikfast.py is meant for users who really don't want
to use openrave to do the generation. Since you've already installed
and are using openrave. I highly recommend you use the
inversekinematics.py database generator:

http://openrave.programmingvision.com/index.php/Databases:InverseKinematics

rosen,

2010/7/24 piero zucchelli <[hidden email]>:

> Hi, i am trying to evaluate the inverse kinematics generator without
> success.
> I am using ikfast.py and the following syntax - but it complains that the
> "lang" parameter is undefined - independenty if i put the "--lang=cpp"
> parameter or not. The file fkfile.txt has been generated according to the
> manual instructions, please let me know if you'd have any suggestions or if
> i am doing something wrong.
> best,
> Piero
>
> -----------------
> c:\Program Files\openrave\share\openrave\openravepy>python ./ikfast.py
> --fkfile=fkfile.txt --baselink=0 --eelink=7  --savefile=piero.cpp 1 2 3 4 5
> 6
> Traceback (most recent call last):
>   File "./ikfast.py", line 3014, in <module>
>     code =
> kinematics.generateIkSolver(options.baselink,options.eelink,solvejoints,options.freeparams,options.usedummyjoints,solvefn=solvefn,lang=lang)
> NameError: name 'lang' is not defined
> c:\Program Files\openrave\share\openrave\openravepy>python ./ikfast.py
> --lang=cpp --fkfile=fkfile.txt --baselink=0 --eelink=7  --savefile=piero.cpp
> 1 2 3 4 5 6
> Traceback (most recent call last):
>   File "./ikfast.py", line 3014, in <module>
>     code =
> kinematics.generateIkSolver(options.baselink,options.eelink,solvejoints,options.freeparams,options.usedummyjoints,solvefn=solvefn,lang=lang)
> NameError: name 'lang' is not defined
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|

Re: issues with ikfast

piero zucchelli
Hi to All,

now ikfast works flawlessly (i updated to version 1666). Thanks Rosen,

Best,
Piero

On Sun, Jul 25, 2010 at 1:05 AM, Rosen Diankov <[hidden email]> wrote:
Hi Piero,

fixed in r1657.

The command line to ikfast.py is meant for users who really don't want
to use openrave to do the generation. Since you've already installed
and are using openrave. I highly recommend you use the
inversekinematics.py database generator:

http://openrave.programmingvision.com/index.php/Databases:InverseKinematics

rosen,

2010/7/24 piero zucchelli <[hidden email]>:
> Hi, i am trying to evaluate the inverse kinematics generator without
> success.
> I am using ikfast.py and the following syntax - but it complains that the
> "lang" parameter is undefined - independenty if i put the "--lang=cpp"
> parameter or not. The file fkfile.txt has been generated according to the
> manual instructions, please let me know if you'd have any suggestions or if
> i am doing something wrong.
> best,
> Piero
>
> -----------------
> c:\Program Files\openrave\share\openrave\openravepy>python ./ikfast.py
> --fkfile=fkfile.txt --baselink=0 --eelink=7  --savefile=piero.cpp 1 2 3 4 5
> 6
> Traceback (most recent call last):
>   File "./ikfast.py", line 3014, in <module>
>     code =
> kinematics.generateIkSolver(options.baselink,options.eelink,solvejoints,options.freeparams,options.usedummyjoints,solvefn=solvefn,lang=lang)
> NameError: name 'lang' is not defined
> c:\Program Files\openrave\share\openrave\openravepy>python ./ikfast.py
> --lang=cpp --fkfile=fkfile.txt --baselink=0 --eelink=7  --savefile=piero.cpp
> 1 2 3 4 5 6
> Traceback (most recent call last):
>   File "./ikfast.py", line 3014, in <module>
>     code =
> kinematics.generateIkSolver(options.baselink,options.eelink,solvejoints,options.freeparams,options.usedummyjoints,solvefn=solvefn,lang=lang)
> NameError: name 'lang' is not defined
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>



--

Piero Zucchelli
GSM: +41796366267

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users