Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e6f1a3debfddb2a6cccaab627266a0ea > files > 3124

mrpt-doc-0.9.0-0.5.fc14.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>The MRPT project: mrpt::hwdrivers::CIMUXSens Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacemrpt.html">mrpt</a>::<a class="el" href="namespacemrpt_1_1hwdrivers.html">hwdrivers</a>::<a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html">CIMUXSens</a>
  </div>
</div>
<div class="contents">
<h1>mrpt::hwdrivers::CIMUXSens Class Reference</h1><!-- doxytag: class="mrpt::hwdrivers::CIMUXSens" --><!-- doxytag: inherits="mrpt::hwdrivers::CGenericSensor" -->
<p>A class for interfacing Inertial Measuring Units (IMUs) of the type "XSens MTi" It uses a serial port connection to the device.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_c_i_m_u_x_sens_8h_source.html">mrpt/hwdrivers/CIMUXSens.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mrpt::hwdrivers::CIMUXSens:</div>
<div class="dynsection">
<div class="center"><img src="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens__inherit__graph.png" border="0" usemap="#mrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens_inherit__map" alt="Inheritance graph"/></div>
<map name="mrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens_inherit__map" id="mrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens_inherit__map">
<area shape="rect" id="node2" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html" title="A generic interface for a wide&#45;variety of sensors designed to be used in the application..." alt="" coords="5,83,221,112"/><area shape="rect" id="node4" href="classmrpt_1_1utils_1_1_c_uncopiable.html" title="The base class of classes that cannot be copied: compile&#45;time errors will be issued..." alt="" coords="32,5,195,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for mrpt::hwdrivers::CIMUXSens:</div>
<div class="dynsection">
<div class="center"><img src="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens__coll__graph.png" border="0" usemap="#mrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens_coll__map" alt="Collaboration graph"/></div>
<map name="mrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens_coll__map" id="mrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens_coll__map">
<area shape="rect" id="node2" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html" title="A generic interface for a wide&#45;variety of sensors designed to be used in the application..." alt="" coords="2920,99,3136,128"/><area shape="rect" id="node10" href="structmrpt_1_1hwdrivers_1_1_t_sensor_class_id.html" title="A structure for runtime ID class type information in the context of hwdrivers::CGenericSensor..." alt="" coords="3279,139,3492,168"/><area shape="rect" id="node4" href="classmrpt_1_1utils_1_1_c_uncopiable.html" title="The base class of classes that cannot be copied: compile&#45;time errors will be issued..." alt="" coords="2473,5,2636,35"/><area shape="rect" id="node13" title="STL class." alt="" coords="2009,191,2089,220"/><area shape="rect" id="node17" href="classmrpt_1_1synch_1_1_c_critical_section.html" title="This class provides simple critical sections functionality." alt="" coords="2457,112,2652,141"/><area shape="rect" id="node15" title="STL class." alt="" coords="1652,191,1817,220"/><area shape="rect" id="node19" href="classmrpt_1_1utils_1_1_c_stream.html" title="This base class is used to provide a unified interface to files,memory buffers,...." alt="" coords="1980,99,2119,128"/><area shape="rect" id="node22" href="classmrpt_1_1utils_1_1_c_referenced_mem_block.html" title="Represents a memory block (via &quot;void*&quot;) that can be shared between several..." alt="" coords="1936,45,2163,75"/><area shape="rect" id="node24" href="classstlplus_1_1smart__ptr.html" title="stlplus::smart_ptr\&lt; vector_byte \&gt;" alt="" coords="1628,45,1841,75"/><area shape="rect" id="node26" href="classstlplus_1_1smart__ptr__base.html" title="stlplus::smart_ptr_base\&lt; vector_byte, constructor_copy\&lt; vector_byte \&gt; \&gt;" alt="" coords="1035,45,1485,75"/><area shape="rect" id="node28" href="classstlplus_1_1smart__ptr__holder.html" title="stlplus::smart_ptr_holder\&lt; vector_byte \&gt;" alt="" coords="676,45,932,75"/><area shape="rect" id="node30" href="structmrpt_1_1mrpt__base__vector.html" title="Numeric vectors compatible with mrpt/math/ops_containers.h:." alt="" coords="349,16,576,45"/><area shape="rect" id="node32" title="STL class." alt="" coords="148,16,297,45"/><area shape="rect" id="node36" href="classmrpt_1_1synch_1_1_c_atomic_counter.html" title="This class acts exactly as an int (or long) variable, but with atomic increment and..." alt="" coords="365,69,560,99"/><area shape="rect" id="node38" href="classmrpt_1_1poses_1_1_c_pose3_d.html" title="A class used to store a 3D pose." alt="" coords="2951,304,3105,333"/><area shape="rect" id="node40" href="classmrpt_1_1poses_1_1_c_pose.html" title="A virtual base class to represent a pose in 2D or 3D." alt="" coords="2485,357,2624,387"/><area shape="rect" id="node42" href="classmrpt_1_1poses_1_1_c_pose_or_point.html" title="The base class for 2D points, 3D points, 2D poses and 3D poses." alt="" coords="1959,357,2140,387"/><area shape="rect" id="node44" href="classmrpt_1_1utils_1_1_c_serializable.html" title="The virtual base class which provides a unified interface for all persistent objects..." alt="" coords="1652,357,1817,387"/><area shape="rect" id="node46" href="classmrpt_1_1utils_1_1_c_object.html" title="The virtual base class of all MRPT classes with a unified RTTI system." alt="" coords="1192,404,1328,433"/><area shape="rect" id="node48" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html" title="A structure that holds runtime class type information." alt="" coords="1640,452,1829,481"/><area shape="rect" id="node52" href="classmrpt_1_1math_1_1_c_matrix_fixed_numeric.html" title="mrpt::math::CMatrixFixedNumeric\&lt; double, 4, 4 \&gt;" alt="" coords="2399,304,2711,333"/><area shape="rect" id="node54" href="classmrpt_1_1math_1_1_c_array.html" title="mrpt::math::CArray\&lt; double, NROWS *NCOLS \&gt;" alt="" coords="1895,304,2204,333"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a2c6d05e01d443cb40639200917ac1ed1">CIMUXSens</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#a2c6d05e01d443cb40639200917ac1ed1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a5016dd7544b2522b0f20b12777738359">~CIMUXSens</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#a5016dd7544b2522b0f20b12777738359"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a633b34ee5e6acbf5cd63e4a144722d8e">doProcess</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method will be invoked at a minimum rate of "process_rate" (Hz) </p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>This</em>&nbsp;</td><td>method must throw an exception with a descriptive message if some critical error is found. </td></tr>
  </table>
  </dd>
</dl>
 <a href="#a633b34ee5e6acbf5cd63e4a144722d8e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#abb9c183575154bdf75587703f18990d6">initialize</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Turns on the xSens device and configure it for getting orientation data.  <a href="#abb9c183575154bdf75587703f18990d6"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#ab2747cd704f4d6839caecc4b5eb6701c">searchPortAndConnect</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Search the port where the sensor is located and connect to it.  <a href="#ab2747cd704f4d6839caecc4b5eb6701c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#ae7a836473bb4931233aa18181bc1bbc2">loadConfig_sensorSpecific</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_base.html">mrpt::utils::CConfigFileBase</a> &amp;configSource, const std::string &amp;iniSection)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_base.html" title="This class allows loading and storing values and vectors of different types from...">utils::CConfigFileBase</a> and derived classes) See <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html" title="A class for interfacing Inertial Measuring Units (IMUs) of the type &quot;XSens MTi&quot;...">hwdrivers::CIMUXSens</a> for the possible parameters.  <a href="#ae7a836473bb4931233aa18181bc1bbc2"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a874500b142640ad4eb10b23a391b4900">m_sensorLabel</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This serial port will be attempted to be opened automatically when this class is first used to request data from the device.  <a href="#a874500b142640ad4eb10b23a391b4900"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#ab611cff8c5a20275512eb12ed7b6a78b">m_COMbauds</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#ad3579f38391444dc861544b82f284e6e">m_com_port</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint64_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#aeba9696a55c3ecc9018b9b7b40fc9376">m_timeStartUI</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a5fdd574f3bc022f747d36224fee0f12e">m_timeStartTT</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a93ad94734769142ed2935d56f87a1c05">m_sensorPose</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#accbe4fe3c962122ce9189057c4b87336">m_cmt3_ptr</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a290e0e015a7657c4e5d5b496c7c26f31">m_deviceId_ptr</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#afefbaeb1247d39850678cf6dec994b68">m_toutCounter</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Timeout counter (for internal use only).  <a href="#afefbaeb1247d39850678cf6dec994b68"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A class for interfacing Inertial Measuring Units (IMUs) of the type "XSens MTi" It uses a serial port connection to the device. </p>
<p>The class implements the generic See also the application "rawlog-grabber" for a ready-to-use application to gather data from the scanner.</p>
<div class="fragment"><pre class="fragment">  PARAMETERS IN THE <span class="stringliteral">&quot;.INI&quot;</span>-LIKE CONFIGURATION STRINGS:
 -------------------------------------------------------
   [supplied_section_name]
    pose_x=0        ; Sensor 3D position relative to the robot (meters)
    pose_y=0
    pose_z=0
    pose_yaw=0  ; Angles in degrees
    pose_pitch=0
    pose_roll=0
           sensorLabel = &lt;label&gt; ; Label of the sensor
           COM_port_LIN = /dev/ttyUSB0       ; COM PORT in LINUX (optional. If not provided, the system will search the connected port)
           COM_port_WIN = COM1               ; COM PORT in Windows (optional. If not provided, the system will search the connected port)
           baudRate                              ; Baudrate for communicating with the COM port (mandatory for Linux)
                                                                    (for Windows, if COM_port_WIN is not provided, this value is ignored)
</pre></div> 
<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00064">64</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2c6d05e01d443cb40639200917ac1ed1"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::CIMUXSens" ref="a2c6d05e01d443cb40639200917ac1ed1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::hwdrivers::CIMUXSens::CIMUXSens </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a class="anchor" id="a5016dd7544b2522b0f20b12777738359"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::~CIMUXSens" ref="a5016dd7544b2522b0f20b12777738359" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual mrpt::hwdrivers::CIMUXSens::~CIMUXSens </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a633b34ee5e6acbf5cd63e4a144722d8e"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::doProcess" ref="a633b34ee5e6acbf5cd63e4a144722d8e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hwdrivers::CIMUXSens::doProcess </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This method will be invoked at a minimum rate of "process_rate" (Hz) </p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>This</em>&nbsp;</td><td>method must throw an exception with a descriptive message if some critical error is found. </td></tr>
  </table>
  </dd>
</dl>
</p>

<p>Implements <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html#a4f02ae5d7a345819f2521f72b633ab51">mrpt::hwdrivers::CGenericSensor</a>.</p>

</div>
</div>
<a class="anchor" id="abb9c183575154bdf75587703f18990d6"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::initialize" ref="abb9c183575154bdf75587703f18990d6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hwdrivers::CIMUXSens::initialize </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Turns on the xSens device and configure it for getting orientation data. </p>

<p>Reimplemented from <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html#a775782a8fef4c5cd11265024431ed8c3">mrpt::hwdrivers::CGenericSensor</a>.</p>

</div>
</div>
<a class="anchor" id="ae7a836473bb4931233aa18181bc1bbc2"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::loadConfig_sensorSpecific" ref="ae7a836473bb4931233aa18181bc1bbc2" args="(const mrpt::utils::CConfigFileBase &amp;configSource, const std::string &amp;iniSection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hwdrivers::CIMUXSens::loadConfig_sensorSpecific </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_base.html">mrpt::utils::CConfigFileBase</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>configSource</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>iniSection</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_base.html" title="This class allows loading and storing values and vectors of different types from...">utils::CConfigFileBase</a> and derived classes) See <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html" title="A class for interfacing Inertial Measuring Units (IMUs) of the type &quot;XSens MTi&quot;...">hwdrivers::CIMUXSens</a> for the possible parameters. </p>

<p>Implements <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html#ac867f9cb46c72b4386a5488f171f178f">mrpt::hwdrivers::CGenericSensor</a>.</p>

</div>
</div>
<a class="anchor" id="ab2747cd704f4d6839caecc4b5eb6701c"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::searchPortAndConnect" ref="ab2747cd704f4d6839caecc4b5eb6701c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mrpt::hwdrivers::CIMUXSens::searchPortAndConnect </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Search the port where the sensor is located and connect to it. </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="accbe4fe3c962122ce9189057c4b87336"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_cmt3_ptr" ref="accbe4fe3c962122ce9189057c4b87336" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#accbe4fe3c962122ce9189057c4b87336">mrpt::hwdrivers::CIMUXSens::m_cmt3_ptr</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00086">86</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad3579f38391444dc861544b82f284e6e"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_com_port" ref="ad3579f38391444dc861544b82f284e6e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#ad3579f38391444dc861544b82f284e6e">mrpt::hwdrivers::CIMUXSens::m_com_port</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00074">74</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab611cff8c5a20275512eb12ed7b6a78b"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_COMbauds" ref="ab611cff8c5a20275512eb12ed7b6a78b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#ab611cff8c5a20275512eb12ed7b6a78b">mrpt::hwdrivers::CIMUXSens::m_COMbauds</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00073">73</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
<a class="anchor" id="a290e0e015a7657c4e5d5b496c7c26f31"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_deviceId_ptr" ref="a290e0e015a7657c4e5d5b496c7c26f31" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a290e0e015a7657c4e5d5b496c7c26f31">mrpt::hwdrivers::CIMUXSens::m_deviceId_ptr</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00087">87</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
<a class="anchor" id="a874500b142640ad4eb10b23a391b4900"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_sensorLabel" ref="a874500b142640ad4eb10b23a391b4900" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a874500b142640ad4eb10b23a391b4900">mrpt::hwdrivers::CIMUXSens::m_sensorLabel</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This serial port will be attempted to be opened automatically when this class is first used to request data from the device. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_serial_port.html" title="A communications serial port built as an implementation of a utils::CStream.">hwdrivers::CSerialPort</a> </dd></dl>

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00072">72</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
<a class="anchor" id="a93ad94734769142ed2935d56f87a1c05"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_sensorPose" ref="a93ad94734769142ed2935d56f87a1c05" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a> <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a93ad94734769142ed2935d56f87a1c05">mrpt::hwdrivers::CIMUXSens::m_sensorPose</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00078">78</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5fdd574f3bc022f747d36224fee0f12e"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_timeStartTT" ref="a5fdd574f3bc022f747d36224fee0f12e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacemrpt_1_1system.html#a42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#a5fdd574f3bc022f747d36224fee0f12e">mrpt::hwdrivers::CIMUXSens::m_timeStartTT</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00076">76</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeba9696a55c3ecc9018b9b7b40fc9376"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_timeStartUI" ref="aeba9696a55c3ecc9018b9b7b40fc9376" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#aeba9696a55c3ecc9018b9b7b40fc9376">mrpt::hwdrivers::CIMUXSens::m_timeStartUI</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00075">75</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
<a class="anchor" id="afefbaeb1247d39850678cf6dec994b68"></a><!-- doxytag: member="mrpt::hwdrivers::CIMUXSens::m_toutCounter" ref="afefbaeb1247d39850678cf6dec994b68" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_i_m_u_x_sens.html#afefbaeb1247d39850678cf6dec994b68">mrpt::hwdrivers::CIMUXSens::m_toutCounter</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Timeout counter (for internal use only). </p>

<p>Definition at line <a class="el" href="_c_i_m_u_x_sens_8h_source.html#l00088">88</a> of file <a class="el" href="_c_i_m_u_x_sens_8h_source.html">CIMUXSens.h</a>.</p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.6.2-20100208</a> for MRPT 0.9.0 SVN: at Wed Jul 14 12:48:09 UTC 2010</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table> </body></html>