<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
 </head><body style="">
 
 
  <div>
   &#160;
  </div> 
  <div>
   <br/>---------- Original Message ----------
   <br/>From: Jakob Schwendner &#60;jakob.schwendner@dfki.de&#62;
   <br/>To: Matthias Goldhoorn &#60;matthias.goldhoorn@dfki.de&#62;
   <br/>Date: September 25, 2012 at 5:21 PM
   <br/>Subject: Re: [Rock-dev] Fwd: Re: IMUSensor - temperature and inclinometers values
  </div> 
  <div style="position: relative;"> 
   <div>
    &#160;
   </div> 
   <div>
    <br/>On September 25, 2012 at 3:32 PM Matthias Goldhoorn &#60;matthias.goldhoorn@dfki.de&#62; wrote: 
    <br/>&#62; On 25.09.2012 15:12, Jakob Schwendner wrote: 
    <br/>&#62; &#62; On 09/25/2012 02:47 PM, Alexander Duda wrote: 
    <br/>&#62; &#62;&#62; On 09/25/2012 02:43 PM, Janosch Machowinski wrote: 
    <br/>&#62; &#62;&#62;&#62; On 25.09.2012 14:32, Javier Hidalgo Carri&#243; wrote: 
    <br/>&#62; &#62;&#62;&#62;&#62; Dear all, 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; I am integrating a new IMU in rock, which gives also Inclinometers 
    <br/>&#62; &#62;&#62;&#62;&#62; (m/s^2) and temperature (Celsius Degrees). 
    <br/>&#62; &#62;&#62;&#62;&#62; The current IMUSensor structure allows: 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; /** Timestamp of the orientation reading */ 
    <br/>&#62; &#62;&#62;&#62;&#62; Time time; 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; /** raw accelerometer readings */ 
    <br/>&#62; &#62;&#62;&#62;&#62; base::Vector3d acc; 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; /** raw gyro reading*/ 
    <br/>&#62; &#62;&#62;&#62;&#62; base::Vector3d gyro; 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; /** raw magnetometer reading*/ 
    <br/>&#62; &#62;&#62;&#62;&#62; base::Vector3d mag; 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; My question is: 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; 1) To extend IMUSensor in base/samples/imu.h to have temperature (like 
    <br/>&#62; &#62;&#62;&#62;&#62; the Xsens also gives) and inclinometers (it is given for better initial 
    <br/>&#62; &#62;&#62;&#62;&#62; leveling) 
    <br/>&#62; &#62;&#62;&#62;&#62; 2) Create a new data struct in my rock-driver i.e IMUSensorExtend 
    <br/>&#62; &#62;&#62;&#62;&#62; structure to this IMU. 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; Which is the best? 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; Thanks, 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62;&#62; Javier. 
    <br/>&#62; &#62;&#62;&#62;&#62; 
    <br/>&#62; &#62;&#62;&#62; 1) sound like the better option to me. 
    <br/>&#62; &#62;&#62;&#62; Janosch 
    <br/>&#62; &#62;&#62;&#62; 
    <br/>&#62; &#62;&#62; The temperature gradient will be much slower than the other values and 
    <br/>&#62; &#62;&#62; you could also have n temperature sensors for your System affecting the 
    <br/>&#62; &#62;&#62; IMU. Therefore I would go for a generic temperature structure. This 
    <br/>&#62; &#62;&#62; would also improves the overall monitoring of your system as all 
    <br/>&#62; &#62;&#62; temperatures can be displayed by a generic widget. 
    <br/>&#62; &#62; +1 
    <br/>&#62; &#62; Same for inclinometer. I would process the values in the driver module 
    <br/>&#62; &#62; already. Just add additional output ports to the module. 
    <br/>&#62; &#62; 
    <br/>&#62; &#62; Jakob 
    <br/>&#62; &#62; 
    <br/>&#62; &#62; 
    <br/>&#62; &#62; _______________________________________________ 
    <br/>&#62; &#62; Rock-dev mailing list 
    <br/>&#62; &#62; Rock-dev@dfki.de 
    <br/>&#62; &#62; http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev 
    <br/>&#62; We should at this point think about an mapping where the temp is 
    <br/>&#62; recorded, some &#34;name&#34;, i mean in general for this case it is clear that 
    <br/>&#62; the imu itself output&#39;s the temp. 
    <br/>&#62; But if we had an general temp-measrument device, this device could be 
    <br/>&#62; everywhere, so if we now add an new temperature (in kelvin!) we should 
    <br/>&#62; ad also an string with an description. But in general it is this again 
    <br/>&#62; an base-type?
   </div> 
   <div>
    Don&#39;t see why it should come with a description. It&#39;s not that we have datums floating around without knowing where they are coming from. For the temperature we could have a type like base::Angle, which stores the temperature in canonical form (which could be Kelvin).
   </div> 
   <div>
    &#160;
   </div> 
   <div>
    Jakob
   </div> 
   <div>
    &#160;
   </div> 
  </div> 
  <div id="ox-signature">
   -- 
   <br/>Jakob Schwendner, M.Sc.
   <br/>Researcher
   <br/>
   <br/>DFKI Bremen
   <br/>Robotics Innovation Center
   <br/>Robert-Hooke-Stra&#223;e 5
   <br/>28359 Bremen, Germany
   <br/>
   <br/>Phone: +49 (0)421 17845-4120
   <br/>Fax: +49 (0)421 17845-4150 
   <br/>E-Mail: jakob.schwendner@dfki.de
   <br/>
   <br/>Weitere Informationen: http://www.dfki.de/robotik
   <br/>-----------------------------------------------------------------------
   <br/>Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
   <br/>Firmensitz: Trippstadter Stra&#223;e 122, D-67663 Kaiserslautern
   <br/>Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster 
   <br/>(Vorsitzender) Dr. Walter Olthoff
   <br/>Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
   <br/>Amtsgericht Kaiserslautern, HRB 2313
   <br/>Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
   <br/>USt-Id.Nr.: DE 148646973
   <br/>Steuernummer: 19/673/0060/3 
   <br/>-----------------------------------------------------------------------
  </div>
 
</body></html>