[Rock-dev] Metadata support for Tasks and Ports

Matthias Goldhoorn matthias.goldhoorn at dfki.de
Mon Nov 18 10:46:21 CET 2013


On 15.11.2013 11:13, Sylvain Joyeux wrote:
> On 11/14/2013 02:04 PM, Matthias Goldhoorn wrote:
>> Possible would be:
>> - from,to (implementation quite limited because underlying is a
>> string/string rep.)
> What is that ?
The intention of definig allowed ranges for input data (only values from 
e.G. -1 to 1 is valid)
>> - default values for input ports
> Input ports do not have a default value in Rock (and IMO should not have
> ...)
In rock so far not ;)
>> - scale to provide information to the UI
> Even though I have a strong dislike with the idea (and that Rock's
> guidelines state that the scale should be "1" w.r.t. the SI unit ...), I
> have to admit that the Time class is already breaking that rule :(
>
> Now, what I *am* wondering is: this is a "datatype" metadata, not a
> property/port/... (e.g. the scale applies on the data, not on the port).
> Shouldn't we have a separate metadata associated with the port/property
> type (which would be merged with typelib's metadata information for the
> type) ? Or how could we separate the port/property metadata from the
> port/property's type metadata ?
>
>> - Connected peers (that rock know (limited to established and released
>> connection from orocos.rb))
> Physical quantity: (length, angle, speed, rotational_speed, torque, ...)
>
Sinc'e noone has currently interest in adding additional kind of meta 
data i skipping the (public) use of the above one's.
The only one i add is the connection_tracking i already have mentioned. 
I push in a few minutes the metadata support and enabling it by default. 
This will force a rebuild on all modules if you do an update (and are on 
master).


Matthias

-- 
  Dipl.-Inf. Matthias Goldhoorn
  Space and Underwater Robotic

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Tel.:     +49 421 178 45-4193
  Zentrale: +49 421 178 45-6550
  Fax:      +49 421 178 45-4150
  E-Mail:   matthias.goldhoorn at uni-bremen.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik



More information about the Rock-dev mailing list