mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 20:17:47 +08:00
deploy: 1b6f872d5c
This commit is contained in:
@@ -63,12 +63,20 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. 安装</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.1.1. 环境配置</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.1.2. Linux ROS2 包装器编译</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 环境配置</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.2. 二进制安装</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux">2.2.1. Linux 二进制包安装</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id3">2.3. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.3.1. Linux ROS2 包装器编译</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.4. 注册脚本(必需)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id2">2.4.1. 二进制安装</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id3">2.4.2. 从源码构建</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. 注册脚本(必需)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. 快速开始</a><ul>
|
||||
@@ -153,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. 坐标系和 TF 变换</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id1">4.4.1. 相机传感器结构</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.2. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.3. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.3.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.3.2. 使用rviz2可视化TF树</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#abtf">4.4.2. 从坐标系A到坐标系B的TF变换:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.3. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.4. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.4.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.4.2. 使用rviz2可视化TF树</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.4. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.4.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.4.2. 函数解析</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.5. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.5.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.5.2. 函数解析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -400,9 +409,10 @@
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="coordinate_and_tf.html">4.4. 坐标系和 TF 变换</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#id1">4.4.1. 相机传感器结构</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.2. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.3. ROS2 TF工具的使用</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.4. 相机TF计算和发布机制</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#abtf">4.4.2. 从坐标系A到坐标系B的TF变换:</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.3. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.4. ROS2 TF工具的使用</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.5. 相机TF计算和发布机制</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="compressed_image.html">4.5. 压缩图像</a></li>
|
||||
@@ -427,7 +437,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© 版权所有 2025, 奥比中光科技集团股份有限公司 www.orbbec.com.。
|
||||
<span class="lastupdated">最后更新于 2025年11月19日 07:20:27.
|
||||
<span class="lastupdated">最后更新于 2025年11月28日 12:55:17.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -63,12 +63,20 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. 安装</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.1.1. 环境配置</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.1.2. Linux ROS2 包装器编译</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 环境配置</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.2. 二进制安装</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux">2.2.1. Linux 二进制包安装</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id3">2.3. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.3.1. Linux ROS2 包装器编译</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.4. 注册脚本(必需)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id2">2.4.1. 二进制安装</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id3">2.4.2. 从源码构建</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. 注册脚本(必需)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. 快速开始</a><ul>
|
||||
@@ -153,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. 坐标系和 TF 变换</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id1">4.4.1. 相机传感器结构</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.2. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.3. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.3.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.3.2. 使用rviz2可视化TF树</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#abtf">4.4.2. 从坐标系A到坐标系B的TF变换:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.3. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.4. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.4.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.4.2. 使用rviz2可视化TF树</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.4. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.4.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.4.2. 函数解析</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.5. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.5.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.5.2. 函数解析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -391,7 +400,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© 版权所有 2025, 奥比中光科技集团股份有限公司 www.orbbec.com.。
|
||||
<span class="lastupdated">最后更新于 2025年11月19日 07:20:27.
|
||||
<span class="lastupdated">最后更新于 2025年11月28日 12:55:17.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -63,12 +63,20 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. 安装</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.1.1. 环境配置</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.1.2. Linux ROS2 包装器编译</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 环境配置</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.2. 二进制安装</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux">2.2.1. Linux 二进制包安装</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id3">2.3. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.3.1. Linux ROS2 包装器编译</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.4. 注册脚本(必需)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id2">2.4.1. 二进制安装</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id3">2.4.2. 从源码构建</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. 注册脚本(必需)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. 快速开始</a><ul>
|
||||
@@ -153,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">4.4. 坐标系和 TF 变换</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#id1">4.4.1. 相机传感器结构</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#ros2-vs">4.4.2. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#ros2-tf">4.4.3. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#id2">4.4.3.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#rviz2tf">4.4.3.2. 使用rviz2可视化TF树</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#abtf">4.4.2. 从坐标系A到坐标系B的TF变换:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#ros2-vs">4.4.3. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#ros2-tf">4.4.4. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#id2">4.4.4.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#rviz2tf">4.4.4.2. 使用rviz2可视化TF树</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#id3">4.4.4. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#obcameranode-calcandpublishstatictransform">4.4.4.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#id4">4.4.4.2. 函数解析</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#id3">4.4.5. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#obcameranode-calcandpublishstatictransform">4.4.5.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#id4">4.4.5.2. 函数解析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -376,8 +385,17 @@
|
||||
<p><img alt="module in rviz2" src="../../_images/image3.png" /></p>
|
||||
<p><img alt="module in rviz2" src="../../_images/image1.png" /></p>
|
||||
</section>
|
||||
<section id="abtf">
|
||||
<h2><span class="section-number">4.4.2. </span>从坐标系A到坐标系B的TF变换:<a class="headerlink" href="#abtf" title="Link to this heading"></a></h2>
|
||||
<p>在Orbbec相机中,原点(0,0,0)取自camera_link位置。</p>
|
||||
<p>可以使用以下命令查看相机的URDF模型和坐标系结构:</p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>ros2<span class="w"> </span>launch<span class="w"> </span>orbbec_description<span class="w"> </span>view_model.launch.py<span class="w"> </span>model:<span class="o">=</span>gemini_335_336.urdf.xacro
|
||||
</pre></div>
|
||||
</div>
|
||||
<p><img alt="rviz2中的模块" src="../../_images/image2.png" /></p>
|
||||
</section>
|
||||
<section id="ros2-vs">
|
||||
<h2><span class="section-number">4.4.2. </span>ROS2机器人坐标系 vs 相机光学坐标系<a class="headerlink" href="#ros2-vs" title="Link to this heading"></a></h2>
|
||||
<h2><span class="section-number">4.4.3. </span>ROS2机器人坐标系 vs 相机光学坐标系<a class="headerlink" href="#ros2-vs" title="Link to this heading"></a></h2>
|
||||
<ul class="simple">
|
||||
<li><p>视角:</p>
|
||||
<ul>
|
||||
@@ -395,9 +413,9 @@
|
||||
</ul>
|
||||
</section>
|
||||
<section id="ros2-tf">
|
||||
<h2><span class="section-number">4.4.3. </span>ROS2 TF工具的使用<a class="headerlink" href="#ros2-tf" title="Link to this heading"></a></h2>
|
||||
<h2><span class="section-number">4.4.4. </span>ROS2 TF工具的使用<a class="headerlink" href="#ros2-tf" title="Link to this heading"></a></h2>
|
||||
<section id="id2">
|
||||
<h3><span class="section-number">4.4.3.1. </span>查看TF树结构<a class="headerlink" href="#id2" title="Link to this heading"></a></h3>
|
||||
<h3><span class="section-number">4.4.4.1. </span>查看TF树结构<a class="headerlink" href="#id2" title="Link to this heading"></a></h3>
|
||||
<p>可以使用以下ROS2命令来打印和可视化相机包发布的TF树:</p>
|
||||
<p><strong>打印所有TF关系:</strong></p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>ros2<span class="w"> </span>run<span class="w"> </span>tf2_tools<span class="w"> </span>view_frames
|
||||
@@ -440,7 +458,7 @@
|
||||
</div>
|
||||
</section>
|
||||
<section id="rviz2tf">
|
||||
<h3><span class="section-number">4.4.3.2. </span>使用rviz2可视化TF树<a class="headerlink" href="#rviz2tf" title="Link to this heading"></a></h3>
|
||||
<h3><span class="section-number">4.4.4.2. </span>使用rviz2可视化TF树<a class="headerlink" href="#rviz2tf" title="Link to this heading"></a></h3>
|
||||
<p>在rviz2中可以实时可视化TF树结构和坐标系的相对位置:</p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>rviz2
|
||||
</pre></div>
|
||||
@@ -455,9 +473,9 @@
|
||||
</section>
|
||||
</section>
|
||||
<section id="id3">
|
||||
<h2><span class="section-number">4.4.4. </span>相机TF计算和发布机制<a class="headerlink" href="#id3" title="Link to this heading"></a></h2>
|
||||
<h2><span class="section-number">4.4.5. </span>相机TF计算和发布机制<a class="headerlink" href="#id3" title="Link to this heading"></a></h2>
|
||||
<section id="obcameranode-calcandpublishstatictransform">
|
||||
<h3><span class="section-number">4.4.4.1. </span>核心函数:<a class="reference external" href="https://github.com/orbbec/OrbbecSDK_ROS2/blob/166c35b4ea211c60265ca9b38b1b15519d1ea3dd/orbbec_camera/src/ob_camera_node.cpp#L3475">OBCameraNode::calcAndPublishStaticTransform()</a><a class="headerlink" href="#obcameranode-calcandpublishstatictransform" title="Link to this heading"></a></h3>
|
||||
<h3><span class="section-number">4.4.5.1. </span>核心函数:<a class="reference external" href="https://github.com/orbbec/OrbbecSDK_ROS2/blob/166c35b4ea211c60265ca9b38b1b15519d1ea3dd/orbbec_camera/src/ob_camera_node.cpp#L3475">OBCameraNode::calcAndPublishStaticTransform()</a><a class="headerlink" href="#obcameranode-calcandpublishstatictransform" title="Link to this heading"></a></h3>
|
||||
<p>相机节点通过此函数计算和发布所有传感器之间的静态转换关系。</p>
|
||||
<div class="highlight-cpp notranslate"><div class="highlight"><pre><span></span><span class="kt">void</span><span class="w"> </span><span class="nf">OBCameraNode::calcAndPublishStaticTransform</span><span class="p">()</span><span class="w"> </span><span class="p">{</span>
|
||||
<span class="w"> </span><span class="n">tf2</span><span class="o">::</span><span class="n">Quaternion</span><span class="w"> </span><span class="n">quaternion_optical</span><span class="p">,</span><span class="w"> </span><span class="n">zero_rot</span><span class="p">;</span>
|
||||
@@ -627,7 +645,7 @@
|
||||
</div>
|
||||
</section>
|
||||
<section id="id4">
|
||||
<h3><span class="section-number">4.4.4.2. </span>函数解析<a class="headerlink" href="#id4" title="Link to this heading"></a></h3>
|
||||
<h3><span class="section-number">4.4.5.2. </span>函数解析<a class="headerlink" href="#id4" title="Link to this heading"></a></h3>
|
||||
<p>下面是代码的详细解释:</p>
|
||||
<p><strong>四元数初始化与坐标系变换</strong></p>
|
||||
<div class="highlight-cpp notranslate"><div class="highlight"><pre><span></span><span class="n">tf2</span><span class="o">::</span><span class="n">Quaternion</span><span class="w"> </span><span class="n">quaternion_optical</span><span class="p">,</span><span class="w"> </span><span class="n">zero_rot</span><span class="p">;</span>
|
||||
@@ -723,7 +741,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© 版权所有 2025, 奥比中光科技集团股份有限公司 www.orbbec.com.。
|
||||
<span class="lastupdated">最后更新于 2025年11月19日 07:20:27.
|
||||
<span class="lastupdated">最后更新于 2025年11月28日 12:55:17.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -63,12 +63,20 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. 安装</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.1.1. 环境配置</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.1.2. Linux ROS2 包装器编译</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 环境配置</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.2. 二进制安装</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux">2.2.1. Linux 二进制包安装</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id3">2.3. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.3.1. Linux ROS2 包装器编译</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.4. 注册脚本(必需)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id2">2.4.1. 二进制安装</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id3">2.4.2. 从源码构建</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. 注册脚本(必需)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. 快速开始</a><ul>
|
||||
@@ -153,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. 坐标系和 TF 变换</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id1">4.4.1. 相机传感器结构</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.2. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.3. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.3.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.3.2. 使用rviz2可视化TF树</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#abtf">4.4.2. 从坐标系A到坐标系B的TF变换:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.3. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.4. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.4.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.4.2. 使用rviz2可视化TF树</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.4. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.4.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.4.2. 函数解析</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.5. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.5.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.5.2. 函数解析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -444,6 +453,26 @@
|
||||
<li><p>ROS 2消息服务质量(QoS)设置。可能的值为 <code class="docutils literal notranslate"><span class="pre">SYSTEM_DEFAULT</span></code>、<code class="docutils literal notranslate"><span class="pre">DEFAULT</span></code>、<code class="docutils literal notranslate"><span class="pre">PARAMETER_EVENTS</span></code>、<code class="docutils literal notranslate"><span class="pre">SERVICES_DEFAULT</span></code>、<code class="docutils literal notranslate"><span class="pre">PARAMETERS</span></code>、<code class="docutils literal notranslate"><span class="pre">SENSOR_DATA</span></code>,不区分大小写。这些分别对应 <code class="docutils literal notranslate"><span class="pre">rmw_qos_profile_system_default</span></code>、<code class="docutils literal notranslate"><span class="pre">rmw_qos_profile_default</span></code>、<code class="docutils literal notranslate"><span class="pre">rmw_qos_profile_parameter_events</span></code>、<code class="docutils literal notranslate"><span class="pre">rmw_qos_profile_services_default</span></code>、<code class="docutils literal notranslate"><span class="pre">rmw_qos_profile_parameters</span></code> 和 <code class="docutils literal notranslate"><span class="pre">SENSOR_DATA</span></code>。</p></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><p><strong><code class="docutils literal notranslate"><span class="pre">color.image_raw.enable_pub_plugins</span></code></strong></p>
|
||||
<ul>
|
||||
<li><p>启用彩色图像传输插件。默认值:<code class="docutils literal notranslate"><span class="pre">["image_transport/compressed",</span> <span class="pre">"image_transport/raw",</span> <span class="pre">"image_transport/theora"]</span></code>。</p></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><p><strong><code class="docutils literal notranslate"><span class="pre">depth.image_raw.enable_pub_plugins</span></code></strong></p>
|
||||
<ul>
|
||||
<li><p>启用深度图像传输插件。默认值:<code class="docutils literal notranslate"><span class="pre">["image_transport/compressedDepth",</span> <span class="pre">"image_transport/raw"]</span></code>。</p></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><p><strong><code class="docutils literal notranslate"><span class="pre">left_ir.image_raw.enable_pub_plugins</span></code></strong></p>
|
||||
<ul>
|
||||
<li><p>启用左红外图像传输插件。默认值:<code class="docutils literal notranslate"><span class="pre">["image_transport/compressed",</span> <span class="pre">"image_transport/raw",</span> <span class="pre">"image_transport/theora"]</span></code>。</p></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><p><strong><code class="docutils literal notranslate"><span class="pre">right_ir.image_raw.enable_pub_plugins</span></code></strong></p>
|
||||
<ul>
|
||||
<li><p>启用右红外图像传输插件。默认值:<code class="docutils literal notranslate"><span class="pre">["image_transport/compressed",</span> <span class="pre">"image_transport/raw",</span> <span class="pre">"image_transport/theora"]</span></code>。</p></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="id3">
|
||||
@@ -1009,7 +1038,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© 版权所有 2025, 奥比中光科技集团股份有限公司 www.orbbec.com.。
|
||||
<span class="lastupdated">最后更新于 2025年11月19日 07:20:27.
|
||||
<span class="lastupdated">最后更新于 2025年11月28日 12:55:17.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -63,12 +63,20 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. 安装</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.1.1. 环境配置</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.1.2. Linux ROS2 包装器编译</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 环境配置</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.2. 二进制安装</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux">2.2.1. Linux 二进制包安装</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id3">2.3. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.3.1. Linux ROS2 包装器编译</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.4. 注册脚本(必需)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id2">2.4.1. 二进制安装</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id3">2.4.2. 从源码构建</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. 注册脚本(必需)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. 快速开始</a><ul>
|
||||
@@ -153,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. 坐标系和 TF 变换</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id1">4.4.1. 相机传感器结构</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.2. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.3. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.3.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.3.2. 使用rviz2可视化TF树</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#abtf">4.4.2. 从坐标系A到坐标系B的TF变换:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.3. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.4. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.4.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.4.2. 使用rviz2可视化TF树</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.4. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.4.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.4.2. 函数解析</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.5. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.5.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.5.2. 函数解析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -436,7 +445,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© 版权所有 2025, 奥比中光科技集团股份有限公司 www.orbbec.com.。
|
||||
<span class="lastupdated">最后更新于 2025年11月19日 07:20:27.
|
||||
<span class="lastupdated">最后更新于 2025年11月28日 12:55:17.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -63,12 +63,20 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. 安装</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.1.1. 环境配置</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.1.2. Linux ROS2 包装器编译</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 环境配置</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.2. 二进制安装</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux">2.2.1. Linux 二进制包安装</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id3">2.3. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.3.1. Linux ROS2 包装器编译</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.4. 注册脚本(必需)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id2">2.4.1. 二进制安装</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id3">2.4.2. 从源码构建</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. 注册脚本(必需)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. 快速开始</a><ul>
|
||||
@@ -153,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. 坐标系和 TF 变换</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id1">4.4.1. 相机传感器结构</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.2. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.3. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.3.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.3.2. 使用rviz2可视化TF树</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#abtf">4.4.2. 从坐标系A到坐标系B的TF变换:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.3. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.4. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.4.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.4.2. 使用rviz2可视化TF树</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.4. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.4.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.4.2. 函数解析</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.5. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.5.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.5.2. 函数解析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -519,6 +528,10 @@ ros2<span class="w"> </span>service<span class="w"> </span>call<span class="w">
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>ros2<span class="w"> </span>service<span class="w"> </span>call<span class="w"> </span>/camera/set_laser_enable<span class="w"> </span>std_srvs/srv/SetBool<span class="w"> </span><span class="s1">'{data: true}'</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p><code class="docutils literal notranslate"><span class="pre">/camera/get_laser_status</span></code></p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>ros2<span class="w"> </span>service<span class="w"> </span>call<span class="w"> </span>/camera/get_laser_status<span class="w"> </span>orbbec_camera_msgs/srv/GetBool<span class="w"> </span><span class="s1">'{}'</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">/camera/set_ldp_enable</span></code> & <code class="docutils literal notranslate"><span class="pre">/camera/get_ldp_status</span></code></p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>ros2<span class="w"> </span>service<span class="w"> </span>call<span class="w"> </span>/camera/set_ldp_enable<span class="w"> </span>std_srvs/srv/SetBool<span class="w"> </span><span class="s1">'{data: true}'</span>
|
||||
@@ -654,7 +667,7 @@ ros2<span class="w"> </span>service<span class="w"> </span>call<span class="w">
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© 版权所有 2025, 奥比中光科技集团股份有限公司 www.orbbec.com.。
|
||||
<span class="lastupdated">最后更新于 2025年11月19日 07:20:27.
|
||||
<span class="lastupdated">最后更新于 2025年11月28日 12:55:17.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -63,12 +63,20 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. 安装</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.1.1. 环境配置</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.1.2. Linux ROS2 包装器编译</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. 环境配置</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id2">2.2. 二进制安装</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux">2.2.1. Linux 二进制包安装</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#id3">2.3. 从源码构建</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2">2.3.1. Linux ROS2 包装器编译</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.4. 注册脚本(必需)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id2">2.4.1. 二进制安装</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#id3">2.4.2. 从源码构建</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. 注册脚本(必需)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. 快速开始</a><ul>
|
||||
@@ -153,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. 坐标系和 TF 变换</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id1">4.4.1. 相机传感器结构</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.2. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.3. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.3.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.3.2. 使用rviz2可视化TF树</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#abtf">4.4.2. 从坐标系A到坐标系B的TF变换:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-vs">4.4.3. ROS2机器人坐标系 vs 相机光学坐标系</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-tf">4.4.4. ROS2 TF工具的使用</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id2">4.4.4.1. 查看TF树结构</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#rviz2tf">4.4.4.2. 使用rviz2可视化TF树</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.4. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.4.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.4.2. 函数解析</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#id3">4.4.5. 相机TF计算和发布机制</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#obcameranode-calcandpublishstatictransform">4.4.5.1. 核心函数:OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#id4">4.4.5.2. 函数解析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -501,7 +510,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© 版权所有 2025, 奥比中光科技集团股份有限公司 www.orbbec.com.。
|
||||
<span class="lastupdated">最后更新于 2025年11月19日 07:20:27.
|
||||
<span class="lastupdated">最后更新于 2025年11月28日 12:55:17.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user