[Rock-dev] Major update of oroGen's generated include files

Sylvain Joyeux sylvain.joyeux at dfki.de
Fri Oct 11 15:46:08 CEST 2013


I'm going to push some code to oroGen (master) that changes how oroGen
manages its own headers, with the goal of improving compilation and
re-compilation speeds (more details at the end of this mail)

It *might* break some oroGen projects, namely if:
 - an opaque is defined, but the header that defines it is not
explicitly loaded with import_types_from. This is now required
 - some #include are missing in the headers passed to import_types_from.
The new generated code is stricter.

In addition, for projects that are using opaques, the headers that
should be included in the files in typekit/ have changed (as usual,
compare with the "fresh" files in templates/). The new code is backward
compatible (you will only get warnings for now), but be warned that you
will see less benefit from the compilation speed improvements if you
don't update.

The user-facing part of this is that a lot less files will have to be
recompiled when some header change (as e.g. when a single header changes
in base/types). With the current scheme *all* orogen files had to be
recompiled. With the new one, only the files that are actually affected
will be, as well as all the task files (did not have time to change it).

In addition, there is quite a bit of improvement on the compilation
times themselves. How much greatly depends on the complexity of the
orogen projects, but I have seen something around 30% on some cases. I
plan to do a complete build of Rock with old and new code to get a
proper comparison.

-- 
Sylvain Joyeux (Dr.Ing.)
Senior Researcher

Space & Security Robotics
Underwater 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
----------------------------------------------------------------------- 



More information about the Rock-dev mailing list