Add Eigen::VectorXd property

Dear All,
I'm trying to add an Eigen::VectorXd property to my component. I
successfully compiled the component as well as the eigen_typekit
from here http://git.mech.kuleuven.be/robotics/itasc_core.git.
When I try to deploy I get the following error:

0.525 [ ERROR ][PropertyLoader:configure] The type 'eigen_vector' did not
provide a type composition function, but I need one to compose it from a
PropertyBag.
0.525 [ ERROR ][DeploymentComponent::configureComponents] Failed to
configure properties for component incrLearning
0.525 [ ERROR ][Logger] Failed to configure a component: aborting
kick-start.

Can you please help me to fix this problem?

Best,
Matteo Saveriano

Ruben Smits's picture

Add Eigen::VectorXd property

On Tue, Apr 1, 2014 at 7:51 PM, Matteo Saveriano
<saveriano [..] ...> wrote:
> Dear All,
> I'm trying to add an Eigen::VectorXd property to my component. I
> successfully compiled the component as well as the eigen_typekit
> from here http://git.mech.kuleuven.be/robotics/itasc_core.git.
> When I try to deploy I get the following error:
>
> 0.525 [ ERROR ][PropertyLoader:configure] The type 'eigen_vector' did not
> provide a type composition function, but I need one to compose it from a
> PropertyBag.
> 0.525 [ ERROR ][DeploymentComponent::configureComponents] Failed to
> configure properties for component incrLearning
> 0.525 [ ERROR ][Logger] Failed to configure a component: aborting
> kick-start.
>
> Can you please help me to fix this problem?

Could you try with the eigen_typekit from
http://github.com/orocos/rtt_geometry instead?

Ruben

> Best,
> Matteo Saveriano
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Add Eigen::VectorXd property

Dear Ruben,
I still have the same problem with the eigen_typekit you
suggested, but I modified it to compile in my configuration. I'm
using orocos under ros fuerte (Ubuntu 12.04). I manually
installed orocos component with target xenomai.

Best,
Matteo

> On Tue, Apr 1, 2014 at 7:51 PM, Matteo Saveriano
> <saveriano [..] ...> wrote:
>> Dear All,
>> I'm trying to add an Eigen::VectorXd property to my component. I
>> successfully compiled the component as well as the eigen_typekit
>> from here http://git.mech.kuleuven.be/robotics/itasc_core.git.
>> When I try to deploy I get the following error:
>>
>> 0.525 [ ERROR ][PropertyLoader:configure] The type 'eigen_vector' did
>> not
>> provide a type composition function, but I need one to compose it from a
>> PropertyBag.
>> 0.525 [ ERROR ][DeploymentComponent::configureComponents] Failed to
>> configure properties for component incrLearning
>> 0.525 [ ERROR ][Logger] Failed to configure a component: aborting
>> kick-start.
>>
>> Can you please help me to fix this problem?
>
> Could you try with the eigen_typekit from
> http://github.com/orocos/rtt_geometry instead?
>
> Ruben
>
>> Best,
>> Matteo Saveriano
>>
>>
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>
>
> --
> Ruben Smits, CTO
> +32 479 511 786
> Intermodalics - Kapeldreef 60, 3001 Heverlee - BELGIUM
> www.intermodalics.eu
>
> ---------------------------------------------------------------------------------------------------------------------------------------
> This email and any attached files are confidential and may be legally
> privileged. Any copy, print or forward of this email, without the
> agreement of sender or addressee, is strictly prohibited. Misuse is a
> violation of the law on personal data protection (D. Lgs. 196/2003)
> and on secrecy of correspondence (art. 616 cp). If you have received
> this transmission in error please notify the sender immediately and
> then delete this email and any attached files.
>

Matteo Saveriano

Add Eigen::VectorXd property

On 04/02/2014 07:36 PM, Matteo Saveriano wrote:
> Dear Ruben,
> I still have the same problem with the eigen_typekit you
> suggested, but I modified it to compile in my configuration. I'm
> using orocos under ros fuerte (Ubuntu 12.04). I manually
> installed orocos component with target xenomai.
>
> Best,
> Matteo
>
>> On Tue, Apr 1, 2014 at 7:51 PM, Matteo Saveriano
>> <saveriano [..] ...> wrote:
>>> Dear All,
>>> I'm trying to add an Eigen::VectorXd property to my component. I
>>> successfully compiled the component as well as the eigen_typekit
>>> from here http://git.mech.kuleuven.be/robotics/itasc_core.git.
>>> When I try to deploy I get the following error:
>>>
>>> 0.525 [ ERROR ][PropertyLoader:configure] The type 'eigen_vector' did
>>> not

is this eigen_vector present in the list of available types?
(in the taskbrowser list them using .types)
try to change your configuration to the float64[], this can be loaded into an eigen vector type
for example
<properties>
<struct name="W" type="float64[]">
<description>diagonal elements of weighting matrix (do not fill with negative values)</description>
<simple name="Element0" type="double"><description>Sequence Element</description><value>1</value></simple>
<simple name="Element1" type="double"><description>Sequence Element</description><value>1</value></simple>
<simple name="Element2" type="double"><description>Sequence Element</description><value>0</value></simple>
<simple name="Element3" type="double"><description>Sequence Element</description><value>0</value></simple>
<simple name="Element4" type="double"><description>Sequence Element</description><value>0</value></simple>
<simple name="Element5" type="double"><description>Sequence Element</description><value>1</value></simple>
</struct>
</properties>

>>> provide a type composition function, but I need one to compose it from a
>>> PropertyBag.
>>> 0.525 [ ERROR ][DeploymentComponent::configureComponents] Failed to
>>> configure properties for component incrLearning
>>> 0.525 [ ERROR ][Logger] Failed to configure a component: aborting
>>> kick-start.
>>>
>>> Can you please help me to fix this problem?
>>
>> Could you try with the eigen_typekit from
>> http://github.com/orocos/rtt_geometry instead?
>>
>> Ruben
>>
>>> Best,
>>> Matteo Saveriano
>>>
>>>
>>> --
>>> Orocos-Users mailing list
>>> Orocos-Users [..] ...
>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>>
>>
>> --
>> Ruben Smits, CTO
>> +32 479 511 786
>> Intermodalics - Kapeldreef 60, 3001 Heverlee - BELGIUM
>> www.intermodalics.eu
>>
>> ---------------------------------------------------------------------------------------------------------------------------------------
>> This email and any attached files are confidential and may be legally
>> privileged. Any copy, print or forward of this email, without the
>> agreement of sender or addressee, is strictly prohibited. Misuse is a
>> violation of the law on personal data protection (D. Lgs. 196/2003)
>> and on secrecy of correspondence (art. 616 cp). If you have received
>> this transmission in error please notify the sender immediately and
>> then delete this email and any attached files.
>>
>
>
> Matteo Saveriano
>
>

Add Eigen::VectorXd property

On 04/02/2014 07:36 PM, Matteo Saveriano wrote:
> Dear Ruben,
> I still have the same problem with the eigen_typekit you
> suggested, but I modified it to compile in my configuration. I'm
> using orocos under ros fuerte (Ubuntu 12.04). I manually
> installed orocos component with target xenomai.
>
> Best,
> Matteo
>
>> On Tue, Apr 1, 2014 at 7:51 PM, Matteo Saveriano
>> <saveriano [..] ...> wrote:
>>> Dear All,
>>> I'm trying to add an Eigen::VectorXd property to my component. I
>>> successfully compiled the component as well as the eigen_typekit
>>> from here http://git.mech.kuleuven.be/robotics/itasc_core.git.
>>> When I try to deploy I get the following error:
>>>
>>> 0.525 [ ERROR ][PropertyLoader:configure] The type 'eigen_vector' did
>>> not
>>> provide a type composition function, but I need one to compose it from a
>>> PropertyBag.

is this eigen_vector present in the list of available types?
(in the taskbrowser list them using .types)
try to change your configuration to the float64[], this can be loaded into an eigen vector type
for example
<properties>
<struct name="W" type="float64[]">
<description>diagonal elements of weighting matrix (do not fill with negative values)</description>
<simple name="Element0" type="double"><description>Sequence Element</description><value>1</value></simple>
<simple name="Element1" type="double"><description>Sequence Element</description><value>1</value></simple>
<simple name="Element2" type="double"><description>Sequence Element</description><value>0</value></simple>
<simple name="Element3" type="double"><description>Sequence Element</description><value>0</value></simple>
<simple name="Element4" type="double"><description>Sequence Element</description><value>0</value></simple>
<simple name="Element5" type="double"><description>Sequence Element</description><value>1</value></simple>
</struct>
</properties>

nick

>>> 0.525 [ ERROR ][DeploymentComponent::configureComponents] Failed to
>>> configure properties for component incrLearning
>>> 0.525 [ ERROR ][Logger] Failed to configure a component: aborting
>>> kick-start.
>>>
>>> Can you please help me to fix this problem?
>>
>> Could you try with the eigen_typekit from
>> http://github.com/orocos/rtt_geometry instead?
>>
>> Ruben
>>
>>> Best,
>>> Matteo Saveriano
>>>
>>>
>>> --
>>> Orocos-Users mailing list
>>> Orocos-Users [..] ...
>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>>
>>
>> --
>> Ruben Smits, CTO
>> +32 479 511 786
>> Intermodalics - Kapeldreef 60, 3001 Heverlee - BELGIUM
>> www.intermodalics.eu
>>
>> ---------------------------------------------------------------------------------------------------------------------------------------
>> This email and any attached files are confidential and may be legally
>> privileged. Any copy, print or forward of this email, without the
>> agreement of sender or addressee, is strictly prohibited. Misuse is a
>> violation of the law on personal data protection (D. Lgs. 196/2003)
>> and on secrecy of correspondence (art. 616 cp). If you have received
>> this transmission in error please notify the sender immediately and
>> then delete this email and any attached files.
>>
>
>
> Matteo Saveriano
>
>