<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 09/26/2012 04:59 PM, Alexander Duda wrote:
<blockquote cite="mid:5063183D.90000@dfki.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 09/26/2012 04:24 PM, Matthias
Goldhoorn wrote:<br>
</div>
<blockquote cite="mid:5063100D.60801@dfki.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
On 26.09.2012 16:22, Javier Hidalgo Carrió wrote:
<blockquote cite="mid:50630F89.9020605@dfki.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 09/26/2012 03:33 PM, Matthias
Goldhoorn wrote:<br>
</div>
<blockquote cite="mid:5063042B.7070602@dfki.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hmh, <br>
<br>
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.<br>
<br>
</blockquote>
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.<br>
</blockquote>
Thats the reason why you should add also the
"base::TemperatureReading" type, which includes the time and the
base::Temperature ;).<br>
<br>
In general in the past i was for an generic data type
Stamped<T> 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 ;).<br>
</blockquote>
<br>
I do see Matthias point but I would rather go for:<br>
base::Temperature <br>
and<br>
struct base::samples::Temperature <br>
{<br>
base::Time time;<br>
base::Temperature temperature;<br>
}<br>
<br>
Alex<br>
<br>
</blockquote>
This seems to be most consistent with what we already have. Come to
think of it I wouldn't even mind having an origin string field in
the base::samples::Temperature type, as Matthias suggested.<br>
<br>
Jakob<br>
<br>
<br>
</body>
</html>