[Rock-dev] [Orocos-users] Naming of generated ROS messages

Ruben Smits ruben.smits at intermodalics.eu
Tue Nov 20 15:07:51 CET 2012


Hi Sylvain,

On Tue, Nov 20, 2012 at 11:48 AM, Sylvain Joyeux <sylvain.joyeux at dfki.de> wrote:
> In the ROS integration within oroGen, oroGen generates ROS messages for
> oroGen-registered types (you also have the option of reusing an existing
> ROS messages, but that's not the subject here).
>
> The issue is how to name this message: ROS has no notion of namespace.
> ROS messages are named package_name/MessageName and that's all.
> Moreover, the package_name "namespace" really has to be a single package
> (you can't generate messages in the blabla_msg from two different
> packages). oroGen has a notion of namespace ... So.
>
> The current scheme would be to transform the_namespace/of_a_type/Type into
>
>    typekit_name/TheNamespaceOfATypeType

I would go for this one for the single reason of it being compliant
with the ROS naming convention.

> the only sane alternative I personally see being
>
>    typekit_name/the_namespace_of_a_typeType
>
> Any preference (if you do care) ?

Ruben

> --
> 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
> -----------------------------------------------------------------------
>
> --
> Orocos-Users mailing list
> Orocos-Users at lists.mech.kuleuven.be
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users



-- 
Ruben Smits, Phd
Chief Technology Officer
Intermodalics BVBA
+32479511786
www.intermodalics.eu


More information about the Rock-dev mailing list