Hi,
I am having an application which reads a cpf file. I have one computer with
two accounts both having electric and orocos 2.5 installed. On the one
account everything goes fine, on the other the following occurs:
If the .cpf file contains a type '/lwr_fri/FriJointImpedance' I get the
following error:
1.159 [ ERROR ][refreshProperties] refreshProperties: Could not update,
nor convert Property /float[] stiffness: type mismatch, can not update with
PropertyBag stiffness
1.159 [ ERROR ][PropertyLoader:configure] The type
'/lwr_fri/FriJointImpedance' did not provide a type composition function,
but I need one to compose it from a PropertyBag.
But when the file contains e.g. a type 'float64[]' or a type
'/lwr_fri/CartesianImpedance' everything is fine.
The FriJointImpedance message contains:
float32[7] stiffness
float32[7] damping
and I have the following lines in the .cpf file:
<struct name="Gains" type="/lwr_fri/FriJointImpedance">
<description>LWR_Joint_Imp_gains<description>
<struct name="stiffness" type="float32">
<description>Part<description>
<simple name="Element0" type="float"><description>Sequence
Element<description><value>100<value><simple>
Any idea what's going on?
Thanks!
Bert
refreshProperties
On Thu, Feb 14, 2013 at 6:30 PM, Bert Willaert
<bert [dot] willaert [..] ...> wrote:
> Hi,
>
> I am having an application which reads a cpf file. I have one computer with
> two accounts both having electric and orocos 2.5 installed. On the one
> account everything goes fine, on the other the following occurs:
>
> If the .cpf file contains a type '/lwr_fri/FriJointImpedance' I get the
> following error:
>
> 1.159 [ ERROR ][refreshProperties] refreshProperties: Could not update,
> nor convert Property /float[] stiffness: type mismatch, can not update with
> PropertyBag stiffness
> 1.159 [ ERROR ][PropertyLoader:configure] The type
> '/lwr_fri/FriJointImpedance' did not provide a type composition function,
> but I need one to compose it from a PropertyBag.
>
> But when the file contains e.g. a type 'float64[]' or a type
> '/lwr_fri/CartesianImpedance' everything is fine.
>
> The FriJointImpedance message contains:
> float32[7] stiffness
> float32[7] damping
>
> and I have the following lines in the .cpf file:
>
> <struct name="Gains" type="/lwr_fri/FriJointImpedance">
> <description>LWR_Joint_Imp_gains<description>
> <struct name="stiffness" type="float32">
> <description>Part<description>
> <simple name="Element0" type="float"><description>Sequence
> Element<description><value>100<value><simple>
>
> Any idea what's going on?
No, only guessing. Except that type="float32" is plain wrong, it
should be "float32[]"
Another possibility is that this is a typekit ordering problem, which
we fixed in Toolchain 2.6, and can't backport to 2.5. Just make sure
that your dependencies and ros package paths are in the same order all
the time in order to avoid such conflicts.
Peter