Hi all,
a have two components which exchange its data throught data ports,
the data type is "user defined" ( not really, it is openCV's IplImage )
If i create and connect this component in an application, i have
to introduce this data type to the framework:
struct IplImageTypeInfo : public RTT::TemplateTypeInfo
{
IplImageTypeInfo() : RTT::TemplateTypeInfo
};
RTT::TypeInfoRepository::Instance()->addType( new IplImageTypeInfo() );
but, how can a do that if i use the deployment component ???
It is possible to configure user defined types in deploymen descriptor XML file ?
( I don't mean load/write user defined data types for properties )
cheers,
vitali
user defined types in deployment descriptor
On Wed, Aug 19, 2009 at 18:52, <vitali [..] ...> wrote:
> Hi all,
>
> a have two components which exchange its data throught data ports,
> the data type is "user defined" ( not really, it is openCV's IplImage )
>
> If i create and connect this component in an application, i have
> to introduce this data type to the framework:
>
>
>
> but, how can a do that if i use the deployment component ???
> It is possible to configure user defined types in deploymen descriptor XML file ?
> ( I don't mean load/write user defined data types for properties )
The idea is to create a library which contains your types (it's called
a toolkit).
Related to this, does anyone (Ruben?) know if there was more work done
on Francois' work in
orocos-ocl/vision/VisionToolkit.hpp ?? Is there a more advanced
version available ?
Peter
user defined types in deployment descriptor
On Thu, Aug 20, 2009 at 3:58 PM, Peter
Soetens<Peter [dot] Soetens [..] ...> wrote:
> On Wed, Aug 19, 2009 at 18:52, <vitali [..] ...> wrote:
>> Hi all,
>>
>> a have two components which exchange its data throught data ports,
>> the data type is "user defined" ( not really, it is openCV's IplImage )
>>
>> If i create and connect this component in an application, i have
>> to introduce this data type to the framework:
>>
>>
>>
>> but, how can a do that if i use the deployment component ???
>> It is possible to configure user defined types in deploymen descriptor XML file ?
>> ( I don't mean load/write user defined data types for properties )
>
> The idea is to create a library which contains your types (it's called
> a toolkit).
>
> Related to this, does anyone (Ruben?) know if there was more work done
> on Francois' work in
> orocos-ocl/vision/VisionToolkit.hpp ?? Is there a more advanced
> version available ?
We are not working on a newer version of this. But IRC others (people
at Onera?) used it as a starter point to extend/adapt it. Maybe they
want to share their code?
Ruben
user defined types in deployment descriptor
On Aug 19, 2009, at 12:52 , vitali [..] ... wrote:
> Hi all,
>
> a have two components which exchange its data throught data ports,
> the data type is "user defined" ( not really, it is openCV's
> IplImage )
>
> If i create and connect this component in an application, i have
> to introduce this data type to the framework:
>
>
>
> but, how can a do that if i use the deployment component ???
> It is possible to configure user defined types in deploymen
> descriptor XML file ?
> ( I don't mean load/write user defined data types for properties )
>
> cheers,
> vitali
This might help
http://orocos.org/wiki/rtt/simple-examples/developing-plugins-and-toolkits
It is still a work in progress, but I think it will help your situation.
Stephen