rttlua error on import kdl_typekit

Hi all,
I am trying to make a rttlua component that use the KDL typekit but
when I do:

dep:import("kdl_typekit")

seems that it not found the library...

149.540 [ ERROR ][DeploymentComponent::import] No such package or
directory found in search path: kdl_typekit. Search path is:
149.541 [ ERROR ][DeploymentComponent::import]
/usr/local/lib/orocos/gnulinux:/home/fabrizio/tools/orocos-toolchain/install/lib/orocos/gnulinux:.
149.541 [ ERROR ][DeploymentComponent::import]
/usr/local/lib/orocos/gnulinux/kdl_typekit
149.541 [ ERROR ][DeploymentComponent::import]
/usr/local/lib/orocos/gnulinux/gnulinux/kdl_typekit
149.541 [ ERROR ][DeploymentComponent::import]
/home/fabrizio/tools/orocos-toolchain/install/lib/orocos/gnulinux/kdl_typekit
149.541 [ ERROR ][DeploymentComponent::import]
/home/fabrizio/tools/orocos-toolchain/install/lib/orocos/gnulinux/gnulinux/kdl_typekit
149.541 [ ERROR ][DeploymentComponent::import] ./kdl_typekit
149.541 [ ERROR ][DeploymentComponent::import] ./gnulinux/kdl_typekit

Any suggestions?

Thanks,
Fabrizio

Re: rttlua error on import kdl_typekit

The problem is more complex and the new question is:

How can I use the kdl_typekit WITHOUT using ROS?

Thanks and regards! Fabrizio

Ruben Smits's picture

rttlua error on import kdl_typekit

Hi Fabrizio

On Wed, Aug 8, 2012 at 5:06 PM, <fabrizio [dot] boriero [..] ...> wrote:

> The problem is more complex and the new question is:
>
> How can I use the kdl_typekit WITHOUT using ROS?
>

See
http://www.orocos.org/stable/documentation/ocl/v2.x/doc-xml/orocos-deplo...
how to tell the deployer where to look for typekits etc. You will need
to tell the deployer where it can find the kdl-typekit by pointing to its
directory. In the case of ROS rospack is used to find this path.

Ruben

> Thanks and regards!
> Fabrizio
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

rttlua error on import kdl_typekit

On Wed, Aug 8, 2012 at 7:06 PM, Ruben Smits
<ruben [dot] smits [..] ...> wrote:
> Hi Fabrizio

Hi Ruben,

> On Wed, Aug 8, 2012 at 5:06 PM, <fabrizio [dot] boriero [..] ...> wrote:
>>
>> The problem is more complex and the new question is:
>>
>> How can I use the kdl_typekit WITHOUT using ROS?
>
>
> See
> http://www.orocos.org/stable/documentation/ocl/v2.x/doc-xml/orocos-deplo...
> on how to tell the deployer where to look for typekits etc. You will need to
> tell the deployer where it can find the kdl-typekit by pointing to its
> directory.

but, if I am not wrong, the kdl-typekit is inside rtt_ros_integration
package that depend on rtt_geometry (ROS) so if
I don't have the ROS installed I can't compile and import the kdl-typekits...

Regards,
Fabrizio

>
>
> Ruben
>
>>
>> Thanks and regards!
>> Fabrizio
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>
>
>
> --
> Ruben Smits, Phd
> Chief Technology Officer
> Intermodalics BVBA
> +32479511786
> www.intermodalics.eu

Ruben Smits's picture

rttlua error on import kdl_typekit

Hi fabrizio,

On Thu, Aug 9, 2012 at 10:24 AM, Fabrizio Boriero <
fabrizio [dot] boriero [..] ...> wrote:

> On Wed, Aug 8, 2012 at 7:06 PM, Ruben Smits
> <ruben [dot] smits [..] ...> wrote:
> > Hi Fabrizio
>
> Hi Ruben,
>
> > On Wed, Aug 8, 2012 at 5:06 PM, <fabrizio [dot] boriero [..] ...> wrote:
> >>
> >> The problem is more complex and the new question is:
> >>
> >> How can I use the kdl_typekit WITHOUT using ROS?
> >
> >
> > See
> >
> http://www.orocos.org/stable/documentation/ocl/v2.x/doc-xml/orocos-deplo...
> > on how to tell the deployer where to look for typekits etc. You will
> need to
> > tell the deployer where it can find the kdl-typekit by pointing to its
> > directory.
>
> but, if I am not wrong, the kdl-typekit is inside rtt_ros_integration
> package that depend on rtt_geometry (ROS) so if
> I don't have the ROS installed I can't compile and import the
> kdl-typekits...
>

That should not be the case. The kdl-typekit is located at
http://git.mech.kuleuven.be / robotics/rtt_geometry.git. It is true that
this stack contains packages that rely on ROS. But the kdl-typekit should
not. So you should be able to compile this package stand-alone.

If not I consider this to be a bug which should be resolved.

> Regards,
> Fabrizio
>
>
Ruben

> >
> >
> > Ruben
> >
> >>
> >> Thanks and regards!
> >> Fabrizio
> >> --
> >> Orocos-Users mailing list
> >> Orocos-Users [..] ...
> >> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
> >
> >
> >
> >
> > --
> > Ruben Smits, Phd
> > Chief Technology Officer
> > Intermodalics BVBA
> > +32479511786
> > www.intermodalics.eu
>

Ruben Smits's picture

rttlua error on import kdl_typekit

Hello Fabrizio,

On Thu, Aug 9, 2012 at 1:47 PM, Ruben Smits <ruben [dot] smits [..] ...>wrote:

> Hi fabrizio,
>
> On Thu, Aug 9, 2012 at 10:24 AM, Fabrizio Boriero <
> fabrizio [dot] boriero [..] ...> wrote:
>
>> On Wed, Aug 8, 2012 at 7:06 PM, Ruben Smits
>> <ruben [dot] smits [..] ...> wrote:
>> > Hi Fabrizio
>>
>> Hi Ruben,
>>
>> > On Wed, Aug 8, 2012 at 5:06 PM, <fabrizio [dot] boriero [..] ...> wrote:
>> >>
>> >> The problem is more complex and the new question is:
>> >>
>> >> How can I use the kdl_typekit WITHOUT using ROS?
>> >
>> >
>> > See
>> >
>> http://www.orocos.org/stable/documentation/ocl/v2.x/doc-xml/orocos-deplo...
>> > on how to tell the deployer where to look for typekits etc. You will
>> need to
>> > tell the deployer where it can find the kdl-typekit by pointing to its
>> > directory.
>>
>> but, if I am not wrong, the kdl-typekit is inside rtt_ros_integration
>> package that depend on rtt_geometry (ROS) so if
>> I don't have the ROS installed I can't compile and import the
>> kdl-typekits...
>>
>
> That should not be the case. The kdl-typekit is located at
> http://git.mech.kuleuven.be / robotics/rtt_geometry.git. It is true that
> this stack contains packages that rely on ROS. But the kdl-typekit should
> not. So you should be able to compile this package stand-alone.
>
> If not I consider this to be a bug which should be resolved.
>
>

I found a dependency on geometry_msgs for the GetQuaternion function. I
will remove this function to make the kdl_typekit fully ROS independent.

Ruben

> Regards,
>> Fabrizio
>>
>>
> Ruben
>
>
>> >
>> >
>> > Ruben
>> >
>> >>
>> >> Thanks and regards!
>> >> Fabrizio
>> >> --
>> >> Orocos-Users mailing list
>> >> Orocos-Users [..] ...
>> >> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>> >
>> >
>> >
>> >
>> > --
>> > Ruben Smits, Phd
>> > Chief Technology Officer
>> > Intermodalics BVBA
>> > +32479511786
>> > www.intermodalics.eu
>>
>
>
>
> --
> Ruben Smits, Phd
> Chief Technology Officer
> Intermodalics BVBA
> +32479511786
> www.intermodalics.eu
>

rttlua error on import kdl_typekit

On Thu, Aug 9, 2012 at 1:51 PM, Ruben Smits
<ruben [dot] smits [..] ...> wrote:
> Hello Fabrizio,

>
> I found a dependency on geometry_msgs for the GetQuaternion function. I
> will remove this function to make the kdl_typekit fully ROS independent.

You have been faster than me... :D

Thanks,
Fabrizio

> Ruben
>
>
>>>
>>> Regards,
>>> Fabrizio
>>>
>>
>> Ruben
>>
>>>
>>> >
>>> >
>>> > Ruben
>>> >
>>> >>
>>> >> Thanks and regards!
>>> >> Fabrizio
>>> >> --
>>> >> Orocos-Users mailing list
>>> >> Orocos-Users [..] ...
>>> >> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Ruben Smits, Phd
>>> > Chief Technology Officer
>>> > Intermodalics BVBA
>>> > +32479511786
>>> > www.intermodalics.eu
>>
>>
>>
>>
>> --
>> Ruben Smits, Phd
>> Chief Technology Officer
>> Intermodalics BVBA
>> +32479511786
>> www.intermodalics.eu
>
>
>
>
> --
> Ruben Smits, Phd
> Chief Technology Officer
> Intermodalics BVBA
> +32479511786
> www.intermodalics.eu

Ruben Smits's picture

rttlua error on import kdl_typekit

Hello Fabrizio,

On Thu, Aug 9, 2012 at 2:01 PM, Fabrizio Boriero <fabrizio [dot] boriero [..] ...
> wrote:

> On Thu, Aug 9, 2012 at 1:51 PM, Ruben Smits
> <ruben [dot] smits [..] ...> wrote:
> > Hello Fabrizio,
>
> >
> > I found a dependency on geometry_msgs for the GetQuaternion function. I
> > will remove this function to make the kdl_typekit fully ROS independent.
>
> You have been faster than me... :D
>

I've removed the dependency, it is available on the master branch:

commit c62917babb76fcf3cc8ab681cdc559323ceadb3e
Refs: master, <origin/HEAD>, <origin/master>
Author: Ruben Smits <ruben [dot] smits [..] ...>
AuthorDate: Thu Aug 9 14:07:09 2012 +0200
Commit: Ruben Smits <ruben [dot] smits [..] ...>
CommitDate: Thu Aug 9 14:07:09 2012 +0200

kdl_typekit: remove dependency on geometry_msgs and thus the
getQuaternion function that relies on it.

Signed-off-by: Ruben Smits <ruben [dot] smits [..] ...>
---
kdl_lua/lua/kdlutils.lua | 6 ------
kdl_typekit/manifest.xml | 1 -
kdl_typekit/src/kdlTypekitOperators.cpp | 6 ------
3 files changed, 13 deletions(-)

Ruben

> Thanks,
> Fabrizio
>
> > Ruben
> >
> >
> >>>
> >>> Regards,
> >>> Fabrizio
> >>>
> >>
> >> Ruben
> >>
> >>>
> >>> >
> >>> >
> >>> > Ruben
> >>> >
> >>> >>
> >>> >> Thanks and regards!
> >>> >> Fabrizio
> >>> >> --
> >>> >> Orocos-Users mailing list
> >>> >> Orocos-Users [..] ...
> >>> >> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Ruben Smits, Phd
> >>> > Chief Technology Officer
> >>> > Intermodalics BVBA
> >>> > +32479511786
> >>> > www.intermodalics.eu
> >>
> >>
> >>
> >>
> >> --
> >> Ruben Smits, Phd
> >> Chief Technology Officer
> >> Intermodalics BVBA
> >> +32479511786
> >> www.intermodalics.eu
> >
> >
> >
> >
> > --
> > Ruben Smits, Phd
> > Chief Technology Officer
> > Intermodalics BVBA
> > +32479511786
> > www.intermodalics.eu
>