<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 09/26/2012 05:22 PM, Leif
      Christensen wrote:<br>
    </div>
    <blockquote cite="mid:50631DCB.4080908@dfki.de" type="cite">
      <pre wrap="">Why do we always have type discussions? And what is basic about
temperature readings? Why stuff like that has to be defined at all. Why
not generate types on the fly from primitives (that was my understanding
of base/types anyhow).

<a class="moz-txt-link-freetext" href="http://www.ros.org/wiki/msg">http://www.ros.org/wiki/msg</a></pre>
    </blockquote>
    The idea of base temperature is to provide a type which has setter
    and getter for different units (Kelvin, Celsius) but internally
    always uses the same unit. This removes a lot of errors due to a
    misinterpretation of units.<br>
    <br>
    Generating types on the fly is compromising the idea of sharing
    components between different projects as the types would not be
    compatible. &nbsp; <br>
    <br>
    <blockquote cite="mid:50631DCB.4080908@dfki.de" type="cite">
      <pre wrap="">

Or are we talking about more complex, but common types for sensor
readings, navigational messages, etc.? If so, there should be some sort
of structure in the the whole type-thing like here:

<a class="moz-txt-link-freetext" href="http://www.ros.org/wiki/common_msgs">http://www.ros.org/wiki/common_msgs</a></pre>
    </blockquote>
    <br>
    You mean this?<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a
      href="http://www.rock-robotics.org/stable/documentation/base_types.html">http://www.rock-robotics.org/stable/documentation/base_types.html</a><br>
    <br>
    Alex<br>
    <blockquote cite="mid:50631DCB.4080908@dfki.de" type="cite">
      <pre wrap="">

Regards,
Leif



Am 26.09.2012 16:59, schrieb Alexander Duda:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 09/26/2012 04:24 PM, Matthias Goldhoorn wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On 26.09.2012 16:22, Javier Hidalgo Carri&oacute; wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">On 09/26/2012 03:33 PM, Matthias Goldhoorn wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">Hmh,

i think we should add base::Temperature analog to base::angle
WITHOUT an timestamp, becasue the temperature can then be added to
any class without duplicate the time field.

</pre>
            </blockquote>
            <pre wrap="">In this case we will not be able to log the temperature alone in a
port with a timestamp. We will need to use the timestamp from other port.
</pre>
          </blockquote>
          <pre wrap="">Thats the reason why you should add also the
"base::TemperatureReading" type, which includes the time and the
base::Temperature ;).

In general in the past i was for an generic data type Stamped&lt;T&gt; which
is in general for this kind of thinks, but there was some points
against this, but i would like to point to it again ;).
</pre>
        </blockquote>
        <pre wrap="">
I do see Matthias point but I would rather go for:
base::Temperature
and
struct base::samples::Temperature
{
    base::Time time;
    base::Temperature temperature;
}

Alex

</pre>
        <blockquote type="cite">
          <pre wrap="">

</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">Add instead an TemperatureReading dataitem which includes base::Time
and the base::Temperature (and still from my point of view an
std::string origin)

Greetings,
Matthias
</pre>
            </blockquote>
            <pre wrap="">


_______________________________________________
Rock-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a>
<a class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a>
</pre>
          </blockquote>
          <pre wrap="">

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

 Universit&auml;t Bremen
 FB 3 - Mathematik und Informatik
 AG Robotik
 Robert-Hooke-Stra&szlig;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:   <a class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@uni-bremen.de">matthias.goldhoorn@uni-bremen.de</a>

 Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a>


_______________________________________________
Rock-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a>
<a class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a>
</pre>
        </blockquote>
        <pre wrap="">

-- 
Dipl.-Ing. Alexander Duda
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Stra&szlig;e 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:alexander.duda@dfki.de">alexander.duda@dfki.de</a>

Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a>
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra&szlig;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 



_______________________________________________
Rock-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a>
<a class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a>

</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dipl.-Ing. Alexander Duda
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Stra&szlig;e 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:alexander.duda@dfki.de">alexander.duda@dfki.de</a>

Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a>
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra&szlig;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 </pre>
  </body>
</html>