[PropertyLoader:configure] Could not compose unknown type 'KDL.Frame'

Hi all, I am trying to load a KDL Frame property from a cpf file using the marshalling service, but receive the following log error:

0.252 [ ERROR ][PropertyLoader:configure] Could not compose unknown type 'KDL.Frame'.

However, KDL Frames are published and read on ports without problems. Here is the cpf file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "cpf.dtd">
<properties>
  <simple name="tableXdim" type="double"><description>Length of the table [m]</description><value>0.5</value></simple>
  <simple name="tableYdim" type="double"><description>Width of the table [m]</description><value>0.5</value></simple>
  <simple name="boxDim1" type="double"><description>Longest edge of th box [m]</description><value>0.2</value></simple>
  <simple name="boxDim2" type="double"><description>Middle edge of the box [m] </description><value>0.123</value></simple>
 <simple name="boxDim3" type="double"><description>Shortest edge of the box of the box [m]</description><value>0.03</value></simple>
 <simple name="sweepThickness" type="double"><description>Thickness of the sweep [m]</description><value>0.01</value></simple>
 
  <struct name="tableFrame" type="KDL.Frame">
     <description>first set-point to go to</description>
     <struct name="p" type="KDL.Vector">
        <simple name="X" type="double"><description>X Value</description><value>0.512</value></simple>
        <simple name="Y" type="double"><description>Y Value</description><value>0.25</value></simple>
        <simple name="Z" type="double"><description>Z Value</description><value>-0.395</value></simple>
     </struct>
     <struct name="M" type="KDL.Rotation">
        <simple name="R" type="double"><description>First rotate around X with R(oll) in radians</description><value>0</value></simple>
        <simple name="P" type="double"><description>Next rotate around old Y with P(itch) in radians</description><value>3.1415</value></simple>
        <simple name="Y" type="double"><description>Next rotate around old Z with Y(aw) in radians</description><value>0</value></simple>
     </struct>
  </struct>
 
 
 
 
</properties>

Thanks a lot

Niccolo'

[PropertyLoader:configure] Could not compose unknown type 'KDL.F

On Thu, May 23, 2013 at 5:04 PM, <niccolo [dot] tosi [..] ...> wrote:
> Hi all,
> I am trying to load a KDL Frame property from a cpf file using the
> marshalling service, but receive the following log error:
>
> 0.252 [ ERROR ][PropertyLoader:configure] Could not compose unknown type
> 'KDL.Frame'.

Which Orocos version ?

>
> However, KDL Frames are published and read on ports without problems. Here is
> the cpf file:
>
>
>
>
>
> Length of the table [m]0.5
> Width of the table [m]0.5
> Longest edge of th box [m]0.2
> Middle edge of the box [m] 0.123
> Shortest edge of the box of the box [m]0.03
> Thickness of the sweep [m]0.01
>
>
> first set-point to go to
>
> X Value0.512
> Y Value0.25
> Z Value-0.395
>
>
> First rotate around X with R(oll) in radians0
> Next rotate around old Y with P(itch) in radians3.1415
> Next rotate around old Z with Y(aw) in radians0
>
>
>
>
>
>
>
>
>
>
> Thanks a lot

(The website forum filtered out your XML tags, please post directly to
the mailing list )

I think it's about time that someone releases a decent version of the
KDL typekit. It's in terrible shape.

Peter

Ruben Smits's picture

[PropertyLoader:configure] Could not compose unknown type 'KDL.F

On Mon, May 27, 2013 at 11:00 PM, Peter Soetens <peter [..] ...>wrote:

> On Thu, May 23, 2013 at 5:04 PM, <niccolo [dot] tosi [..] ...>
> wrote:
> > Hi all,
> > I am trying to load a KDL Frame property from a cpf file using the
> > marshalling service, but receive the following log error:
> >
> > 0.252 [ ERROR ][PropertyLoader:configure] Could not compose unknown type
> > 'KDL.Frame'.
>
>
> Which Orocos version ?
>
> >
> > However, KDL Frames are published and read on ports without problems.
> Here is
> > the cpf file:
> >
> >
> >
> >
> >
> > Length of the table [m]0.5
> > Width of the table [m]0.5
> > Longest edge of th box [m]0.2
> > Middle edge of the box [m] 0.123
> > Shortest edge of the box of the box [m]0.03
> > Thickness of the sweep [m]0.01
> >
> >
> > first set-point to go to
> >
> > X Value0.512
> > Y Value0.25
> > Z Value-0.395
> >
> >
> > First rotate around X with R(oll) in radians0
> > Next rotate around old Y with P(itch) in radians3.1415
> > Next rotate around old Z with Y(aw) in radians0
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Thanks a lot
>
> (The website forum filtered out your XML tags, please post directly to
> the mailing list )
>
> I think it's about time that someone releases a decent version of the
> KDL typekit. It's in terrible shape.
>
>
It's been released 3 weeks ago, including fixes for all known bugs.

You are probably working with an old cpf file, have you tried to use the
marshalling service to write the properties to a file and check for the
differences?

Ruben

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

[PropertyLoader:configure] Could not compose unknown type 'KDL.F

Problem solved by importing the kdl_typekit in the deployer.ops file

import("kdl_typekit")