[Rock-dev] R: Re: problem declaring plain vector in orogen [ ERROR ][TypeInfoName] Can not build Property of unknown_t.

gprizzi at tin.it gprizzi at tin.it
Fri Jan 7 20:30:46 CET 2011


Unfortunately I get again the following errors.

root at UBU1004:~/rock/TestMat/build# ./mattest1 
1.429 [ ERROR  ][TypekitRepository::Import] A protocol with id 42 was already added for type /std/string
1.450 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/std/string'.
1.450 [ Warning][TypekitRepository::Import] Attempt to register Type '/std/string' twice to the Orocos Type System.
1.451 [ ERROR  ][TypekitRepository::Import] A protocol with id 42 was already added for type /std/string
3.444 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/std/string'.
4.946 [ ERROR  ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/string
5.441 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/std/vector</int32_t>'.
5.862 [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.
5.862 [ ERROR  ][PropertyLoader::save] Decomposition failed because Part 'row1' is not known to type system.
5.862 [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.
5.862 [ ERROR  ][PropertyLoader::save] Decomposition failed because Part 'row2' is not known to type system.
5.863 [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.
5.863 [ ERROR  ][PropertyLoader::save] Decomposition failed because Part 'row3' is not known to type system.
5.863 [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.
5.863 [ ERROR  ][PropertyLoader::save] Decomposition failed because Part 'row4' is not known to type system.
5.863 [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.
5.864 [ ERROR  ][PropertyLoader::save] Decomposition failed because Part 'row1' is not known to type system.
5.864 [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.
5.864 [ ERROR  ][PropertyLoader::save] Decomposition failed because Part 'row2' is not known to type system.
5.864 [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.
5.864 [ ERROR  ][PropertyLoader::save] Decomposition failed because Part 'row3' is not known to type system.
5.865 [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.
5.865 [ ERROR  ][PropertyLoader::save] Decomposition failed because Part 'row4' is not known to type system.
5.865 [ Warning][PropertyLoader::save] Don't know type /mattest/mattype of myMat and could not convert or decompose it. Dropping it.

I attached the tarball of the test project.
I you have time to have a look and eventually to tell me if I am doing some wrong.

Thank you very much

G. Rizzi



----Messaggio originale----
Da: sylvain.joyeux at dfki.de
Data: 6-gen-2011 1.41 PM
A: "gprizzi at tin.it"<gprizzi at tin.it>
Cc: <orocos-users at lists.mech.kuleuven.be>, <rock-dev at dfki.de>
Ogg: Re: problem declaring plain vector in orogen [ ERROR  ][TypeInfoName] Can not build Property of unknown_t.

Summary: I believe this bug is fixed with the latest changes I pushed in 
Rock. Please tell me if I am wrong.


Long explanation
-----------------
The problem came from a type export policy change I recently did on oroGen.

Registering a type in the RTT type system is pretty costly in terms of 
compilation time. Since people that use Rock-only (i.e. the Ruby tools) 
don't need to register all types, I changed the default in oroGen to 
export only types that are used in task interfaces. typegen-generated 
typekits would export all types (obviously).

However, for the XML marshalling to work, all types *also* need to be 
registered in RTT.

So:
* the default is back to export all types in oroGen. Rock autoproj
   configuration changes that to export only used types for rock users
* a new configuration option in Rock's autoproj configuration allows
   to require OCL compatibility, in which case all types are exported.

So, if you answer 'yes' to OCL compatibility, it should work as expected.
-- 
Sylvain Joyeux (Dr.Ing.)
Space &amp; Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/mailman/cgi-bin/private/rock-dev/attachments/20110107/82f70be1/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestMat.tar.gz
Type: application/x-gzip
Size: 5247810 bytes
Desc: not available
Url : http://www.dfki.de/mailman/cgi-bin/private/rock-dev/attachments/20110107/82f70be1/attachment-0001.bin 


More information about the Rock-dev mailing list