[Rock-dev] Adding "Simple" timestamped values

Matthias Goldhoorn matthias.goldhoorn at dfki.de
Tue Aug 9 10:36:42 CEST 2011


Just for the list after personal discussion.

i will create an private "comment" type for the project as long not 
other projcts need this to.

The Stamped 'things' will not go to base...

Matthias


On 09.08.2011 10:16, Sylvain Joyeux wrote:
>> Currently i need and simple "Comment" message. for this i need an string
>> and the timestamp. In the past i had often the usecase to output basic
>> data with an timestamp (light values, depth (okay depth is an rbs) or
>> other simple sensor values, for this would be great to have an "base" 
>> type.
> If you want to send debug data, then design a debug datatype that 
> match your COMPLETE algorithm and send the WHOLE debug data all the 
> time (not "when I want to debug it"). Creating the type right away 
> will allow you to extend it in the future I doubt that *any* of you 
> algorithms only have an integer/float/double as internal state.
>
> If you need a "comment" message (which I highly doubt it makes sense), 
> then just create a "Comment" message
>
> If you need sensor values, then create specific sensor types. It will 
> actually tell you *what* is in the data that your are producing, in 
> addition to *how* the value is stored.
>
>> Sometimes also for debugging purpuse i would like to have doubles that
>> can be easily plottet without creating classes for this.
>
> as far as I remember, extracting a double from a sample is achieved in 
> vizkit by
>
> task.port.connect_to do |data, _|
>   v = data.field[3]
>   plotting_widget.whatever_method_can_be_used_to_plot(v)
>   v
> end
>
> Hardly a case for adding these types.


-- 
  Dipl.-Inf. Matthias Goldhoorn
  Unterwasserrobotik

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

  Phone: +49 (0)421 178 45-4193
  Fax:   +49 (0)421 178 45-4150
  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