Python bindins error: KDL v1.0.0 release

I'm trying to compile KDL 1.0.0 with the Python bindings.
The C++ part of KDL compiles fine but I get this error in the
python bindings:

Linking CXX shared library liborocos-kdl.so
[ 96%] Built target orocos-kdl
[ 96%] Generating Makefile
Parsing SIP files for 'PyKDL' library...
Creating makefiles...
Done
[ 96%] Generating PyKDL.so
In file included from /home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip:325:
/home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘q_init’
/home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘v_in’
/home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘q_out’
/home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip: In function ‘PyObject* meth_ChainIkSolverVel_wdls_setWeightTS(PyObject*, PyObject*)’:
/home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip:338: error: ‘ublas’ has not been declared

I understand that KDL has switched to eigen2 from ublas and
that is causing this error. It would be great if the python
bindings could be updated soon too.

Thanks.

Advait

Ruben Smits's picture

Python bindins error: KDL v1.0.0 release

I just got a patch from Federico Ruiz Ugalde from TUM to fix the
building problem. It is added to trunk. I did not yet check if any
other change influenced the correct working of the python bindings. If
you spot a bug, don't hesitate to contact me.

R

On Wed, Jul 8, 2009 at 5:44 AM,
advaitjain [..] ...<advaitjain [..] ...> wrote:
> I'm trying to compile KDL 1.0.0 with the Python bindings.
> The C++ part of KDL compiles fine but I get this error in the
> python bindings:
>
> Linking CXX shared library liborocos-kdl.so
> [ 96%] Built target orocos-kdl
> [ 96%] Generating Makefile
> Parsing SIP files for 'PyKDL' library...
> Creating makefiles...
> Done
> [ 96%] Generating PyKDL.so
> In file included from /home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip:325:
> /home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘q_init’
> /home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘v_in’
> /home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘q_out’
> /home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip: In function ‘PyObject* meth_ChainIkSolverVel_wdls_setWeightTS(PyObject*, PyObject*)’:
> /home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip:338: error: ‘ublas’ has not been declared
>
>
> I understand that KDL has switched to eigen2 from ublas and
> that is causing this error. It would be great if the python
> bindings could be updated soon too.
>
> Thanks.
>
> Advait
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Python bindins error: KDL v1.0.0 release

The python bindings now seem to be working for me. Thanks!

I have created a patch for the python bindings that lets me do 3 things:
1. access elements of a rotation matrix.
2. access elements of a jacobian matrix.
3. call ChainIkSolverPos_NR_JL from python

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=686

Advait

On Wed, Jul 22, 2009 at 8:20 AM, Ruben
Smits<ruben [dot] smits [..] ...> wrote:
> I just got a patch from Federico Ruiz Ugalde from TUM to fix the
> building problem. It is added to trunk. I did not yet check if any
> other change influenced the correct working of the python bindings. If
> you spot a bug, don't hesitate to contact me.
>
> R
>
> On Wed, Jul 8, 2009 at 5:44 AM,
> advaitjain [..] ...<advaitjain [..] ...> wrote:
>> I'm trying to compile KDL 1.0.0 with the Python bindings.
>> The C++ part of KDL compiles fine but I get this error in the
>> python bindings:
>>
>> Linking CXX shared library liborocos-kdl.so
>> [ 96%] Built target orocos-kdl
>> [ 96%] Generating Makefile
>> Parsing SIP files for 'PyKDL' library...
>> Creating makefiles...
>> Done
>> [ 96%] Generating PyKDL.so
>> In file included from /home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip:325:
>> /home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘q_init’
>> /home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘v_in’
>> /home/advait/downloaded/kdl-1.0.0/src/chainiksolvervel_wdls.hpp:81: warning: unused parameter ‘q_out’
>> /home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip: In function ‘PyObject* meth_ChainIkSolverVel_wdls_setWeightTS(PyObject*, PyObject*)’:
>> /home/advait/downloaded/kdl-1.0.0/src/bindings/python/kinfam.sip:338: error: ‘ublas’ has not been declared
>>
>>
>> I understand that KDL has switched to eigen2 from ublas and
>> that is causing this error. It would be great if the python
>> bindings could be updated soon too.
>>
>> Thanks.
>>
>> Advait
>>
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>