[Bug 716] New: OCL vector template composition not available to KDL

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

Summary: OCL vector template composition not available to KDL
Product: OCL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Other
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

I am in the process of creating the necessary toolkit and transport plugin
code, to deal with std::vector of KDL::Vector, KDL::Rotation, etc. It would be
nice to be able to use the OCL VectorTemplateComposition header file, but of
course, this isn't available in KDL.

How might we go about dealing with this? Put the VectorTemplateComposition.hpp
file into RTT? Are there any plans to deal with this situation as part of v2.x?

[Bug 716] OCL vector template composition not available to KDL

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

--- Comment #7 from S Roderick <kiwi [dot] net [..] ...> 2009-10-27 16:13:48 ---
Created an attachment (id=531)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=531)
Correct capitalization when finding boost

Whacky one. Works on some machines with "find_package(boost ...)" but on others
you must put "find_package(Boost ...)". The first one doesn't produce an error,
it's just that components are silently not found.

[Bug 716] OCL vector template composition not available to KDL

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

S Roderick <kiwi [dot] net [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #529 is|0 |1
obsolete| |

--- Comment #6 from S Roderick <kiwi [dot] net [..] ...> 2009-10-27 00:57:31 ---
Created an attachment (id=530)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=530)
Add tests for plugins

Tests existing and new types

Tested on Mac OS X Leopard and Ubuntu Jaunty

[Bug 716] OCL vector template composition not available to KDL

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

--- Comment #5 from S Roderick <kiwi [dot] net [..] ...> 2009-10-26 22:24:40 ---
Created an attachment (id=529)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=529)
Adds tests for plugins

Tests existing and new types

Tested on Mac OS X Leopard

[Bug 716] OCL vector template composition not available to KDL

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

--- Comment #1 from S Roderick <kiwi [dot] net [..] ...> 2009-10-26 20:36:11 ---
Needs fixes for #719 in RTT, and #720 in KDL.

[Bug 716] OCL vector template composition not available to KDL

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

--- Comment #4 from S Roderick <kiwi [dot] net [..] ...> 2009-10-26 20:54:29 ---
I have additional test cases that work all these new types (and all the old
types). I need to refactor them to take out the OCL taskbrowser is all.

Tested on Mac OS X Leopard.

[Bug 716] OCL vector template composition not available to KDL

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

--- Comment #3 from S Roderick <kiwi [dot] net [..] ...> 2009-10-26 20:53:58 ---
Created an attachment (id=528)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=528)
Remove duplicate functionality

I don't think this is the correct solution, but it demonstrates the problem.
Without this patch, the std::vector<KDL::XXX> types won't compile as they see
these functions in KDL and the same signature functions from
rtt/VectorTemplateComposition.hpp.

The only difference between the two versions is that RTT separates with
comma's.

I don't think KDL can rely on the RTT version as some people want KDL
independant of RTT being installed.

[Bug 716] OCL vector template composition not available to KDL

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

--- Comment #2 from S Roderick <kiwi [dot] net [..] ...> 2009-10-26 20:52:27 ---
Created an attachment (id=527)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=527)
Adds std::vector of KDL types

Removes some obsolete functionality, as well as adding the new types.

Does _not_ currently support the types in scripting. I have to add that.

Requires the next patch, which will need work before it can be integrated I
suspect.

Ruben Smits's picture

[Bug 716] New: OCL vector template composition not available to

On Fri, Oct 23, 2009 at 5:04 PM, S Roderick <kiwi [dot] net [..] ...> wrote:
> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=716
>
>           Summary: OCL vector template composition not available to KDL
>           Product: OCL
>           Version: trunk
>          Platform: All
>        OS/Version: All
>            Status: NEW
>          Severity: normal
>          Priority: P3
>         Component: Other
>        AssignedTo: orocos-dev [..] ...
>        ReportedBy: kiwi [dot] net [..] ...
>                CC: orocos-dev [..] ...
>   Estimated Hours: 0.0
>
>
> I am in the process of creating the necessary toolkit and transport plugin
> code, to deal with std::vector of KDL::Vector, KDL::Rotation, etc. It would be
> nice to be able to use the OCL VectorTemplateComposition header file, but of
> course, this isn't available in KDL.
>
> How might we go about dealing with this? Put the VectorTemplateComposition.hpp
> file into RTT?

As far as I know it is already in RTT:

svn log rtt-1.10/src/VectorTemplateComposition.hpp:
 
<snip>
 
r30186 | psoetens | 2009-06-04 15:57:19 +0200 (Thu, 04 Jun 2009) | 6 lines
 
Fixes bug #640:providing RTT with type vector<ANYTYPE>
 
 Applied patch from T. De Laet and R. Smits to add scripting support
for std::vector<T> types.
 
From: Peter Soetens <peter@tripple-foo.(none)>

>Are there any plans to deal with this situation as part of v2.x?

You do not have to wait, go ahead an create std::vector<KDL-types> for
the kdl-toolkit, I'll be happy to put them in.

I'm preparing KDL 1.2, so anything you want to have in there, don't hesitate ;)

Ruben

> --
> Configure bugmail: https://www.fmtc.be/bugzilla/orocos/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You are the assignee for the bug.
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>

[Bug 716] New: OCL vector template composition not available to

On Oct 23, 2009, at 14:54 , Ruben Smits wrote:

> On Fri, Oct 23, 2009 at 5:04 PM, S Roderick <kiwi [dot] net [..] ...> wrote:
>> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=716
>>
>> Summary: OCL vector template composition not available to
>> KDL
>> Product: OCL
>> Version: trunk
>> Platform: All
>> OS/Version: All
>> Status: NEW
>> Severity: normal
>> Priority: P3
>> Component: Other
>> AssignedTo: orocos-dev [..] ...
>> ReportedBy: kiwi [dot] net [..] ...
>> CC: orocos-dev [..] ...
>> Estimated Hours: 0.0
>>
>>
>> I am in the process of creating the necessary toolkit and transport
>> plugin
>> code, to deal with std::vector of KDL::Vector, KDL::Rotation, etc.
>> It would be
>> nice to be able to use the OCL VectorTemplateComposition header
>> file, but of
>> course, this isn't available in KDL.
>>
>> How might we go about dealing with this? Put the
>> VectorTemplateComposition.hpp
>> file into RTT?
>
> As far as I know it is already in RTT:
>

> svn log rtt-1.10/src/VectorTemplateComposition.hpp:
>
> <snip>
>
> r30186 | psoetens | 2009-06-04 15:57:19 +0200 (Thu, 04 Jun 2009) | 6  
> lines
>
> Fixes bug #640:providing RTT with type vector<ANYTYPE>
>
> Applied patch from T. De Laet and R. Smits to add scripting support
> for std::vector<T> types.
>
> From: Peter Soetens <peter@tripple-foo.(none)>
> 

Had not noticed it there. Thanks. The two are different, so which is
being maintained? The git logs look like RTT's version is the one ...

>> Are there any plans to deal with this situation as part of v2.x?
>
> You do not have to wait, go ahead an create std::vector<KDL-types> for
> the kdl-toolkit, I'll be happy to put them in.
>
> I'm preparing KDL 1.2, so anything you want to have in there, don't
> hesitate ;)

I'll see what I can do ... :-)
Stephen