[Rock-dev] orocos.rb / TaskContext properties and attributes

Sylvain Joyeux sylvain.joyeux at dfki.de
Fri Jan 14 16:15:00 CET 2011


On 01/14/2011 02:30 PM, Alexander Duda wrote:
> Hi,
>
> What's the different between a property and an attribute in orocos.rb?
> Sometime ago task.attributes returned all properties as well. Now it
> doesn't. Any reason for this?
In RTT 1.x, properties and attributes were exactly the same from the 
CORBA point of view. It is not true anymore in 2.x, so they don't appear 
the same on orocos.rb either.

Bottom line: there's a vague conceptual difference between the two, but 
nobody really knows what it is :). It has been the subject of a few 
discussions on orocos-dev, but without a true conclusion.

As a guideline: only use properties.

-- 
Sylvain Joyeux (Dr.Ing.)
Space & 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
-----------------------------------------------------------------------


More information about the Rock-dev mailing list