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:
@@ -62,12 +62,21 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. Installation</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Build from Source</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Binary Installation</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#environment">2.1.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.1.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-binary-package-installation">2.1.2. Linux Binary Package Installation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#build-from-source">2.2. Build from Source</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id1">2.2.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.2.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.3. Registration Script (Required)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#binary-installation">2.3.1. Binary Installation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#build-from-source">2.3.2. Build from Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. Registration script (required)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. Quickstarts</a><ul>
|
||||
@@ -152,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. Coordinate Systems and TF Transforms</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-sensor-structure">4.4.1. Camera sensor structure</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.2. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.3. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.3.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.3.2. Visualize TF Tree in rviz2</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#tf-from-coordinate-a-to-coordinate-b">4.4.2. TF from coordinate A to coordinate B:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.3. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.4. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.4.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.4.2. Visualize TF Tree in rviz2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.4. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.4.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.4.2. Function Breakdown</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.5. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.5.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.5.2. Function Breakdown</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -399,9 +409,10 @@
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="coordinate_and_tf.html">4.4. Coordinate Systems and TF Transforms</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#camera-sensor-structure">4.4.1. Camera sensor structure</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.2. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.3. Using ROS2 TF Tools</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.4. Camera TF Calculation and Publishing Mechanism</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#tf-from-coordinate-a-to-coordinate-b">4.4.2. TF from coordinate A to coordinate B:</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.3. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.4. Using ROS2 TF Tools</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.5. Camera TF Calculation and Publishing Mechanism</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="compressed_image.html">4.5. Compressed Image</a></li>
|
||||
@@ -426,7 +437,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2025, ORBBEC INC. www.orbbec.com..
|
||||
<span class="lastupdated">Last updated on 2025-11-19 07:20:24.
|
||||
<span class="lastupdated">Last updated on 2025-11-28 12:55:13.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,12 +62,21 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. Installation</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Build from Source</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Binary Installation</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#environment">2.1.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.1.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-binary-package-installation">2.1.2. Linux Binary Package Installation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#build-from-source">2.2. Build from Source</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id1">2.2.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.2.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.3. Registration Script (Required)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#binary-installation">2.3.1. Binary Installation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#build-from-source">2.3.2. Build from Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. Registration script (required)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. Quickstarts</a><ul>
|
||||
@@ -152,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. Coordinate Systems and TF Transforms</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-sensor-structure">4.4.1. Camera sensor structure</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.2. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.3. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.3.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.3.2. Visualize TF Tree in rviz2</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#tf-from-coordinate-a-to-coordinate-b">4.4.2. TF from coordinate A to coordinate B:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.3. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.4. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.4.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.4.2. Visualize TF Tree in rviz2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.4. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.4.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.4.2. Function Breakdown</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.5. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.5.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.5.2. Function Breakdown</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -390,7 +400,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2025, ORBBEC INC. www.orbbec.com..
|
||||
<span class="lastupdated">Last updated on 2025-11-19 07:20:24.
|
||||
<span class="lastupdated">Last updated on 2025-11-28 12:55:13.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,12 +62,21 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. Installation</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Build from Source</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Binary Installation</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#environment">2.1.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.1.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-binary-package-installation">2.1.2. Linux Binary Package Installation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#build-from-source">2.2. Build from Source</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id1">2.2.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.2.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.3. Registration Script (Required)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#binary-installation">2.3.1. Binary Installation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#build-from-source">2.3.2. Build from Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. Registration script (required)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. Quickstarts</a><ul>
|
||||
@@ -152,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">4.4. Coordinate Systems and TF Transforms</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#camera-sensor-structure">4.4.1. Camera sensor structure</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.2. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#using-ros2-tf-tools">4.4.3. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#view-tf-tree-structure">4.4.3.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#visualize-tf-tree-in-rviz2">4.4.3.2. Visualize TF Tree in rviz2</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#tf-from-coordinate-a-to-coordinate-b">4.4.2. TF from coordinate A to coordinate B:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.3. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#using-ros2-tf-tools">4.4.4. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#view-tf-tree-structure">4.4.4.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#visualize-tf-tree-in-rviz2">4.4.4.2. Visualize TF Tree in rviz2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#camera-tf-calculation-and-publishing-mechanism">4.4.4. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#core-function-obcameranode-calcandpublishstatictransform">4.4.4.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#function-breakdown">4.4.4.2. Function Breakdown</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#camera-tf-calculation-and-publishing-mechanism">4.4.5. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#core-function-obcameranode-calcandpublishstatictransform">4.4.5.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#function-breakdown">4.4.5.2. Function Breakdown</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -375,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="tf-from-coordinate-a-to-coordinate-b">
|
||||
<h2><span class="section-number">4.4.2. </span>TF from coordinate A to coordinate B:<a class="headerlink" href="#tf-from-coordinate-a-to-coordinate-b" title="Link to this heading"></a></h2>
|
||||
<p>In Orbbec cameras, the origin point (0,0,0) is taken from the camera_link position.</p>
|
||||
<p>You can view the camera’s URDF model and coordinate system structure using the following command:</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="module in rviz2" src="../../_images/image2.png" /></p>
|
||||
</section>
|
||||
<section id="ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">
|
||||
<h2><span class="section-number">4.4.2. </span>ROS2 Robot Coordinate System vs Camera Optical Coordinate System<a class="headerlink" href="#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system" title="Link to this heading"></a></h2>
|
||||
<h2><span class="section-number">4.4.3. </span>ROS2 Robot Coordinate System vs Camera Optical Coordinate System<a class="headerlink" href="#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system" title="Link to this heading"></a></h2>
|
||||
<ul class="simple">
|
||||
<li><p>Point of View:</p>
|
||||
<ul>
|
||||
@@ -394,9 +413,9 @@
|
||||
</ul>
|
||||
</section>
|
||||
<section id="using-ros2-tf-tools">
|
||||
<h2><span class="section-number">4.4.3. </span>Using ROS2 TF Tools<a class="headerlink" href="#using-ros2-tf-tools" title="Link to this heading"></a></h2>
|
||||
<h2><span class="section-number">4.4.4. </span>Using ROS2 TF Tools<a class="headerlink" href="#using-ros2-tf-tools" title="Link to this heading"></a></h2>
|
||||
<section id="view-tf-tree-structure">
|
||||
<h3><span class="section-number">4.4.3.1. </span>View TF Tree Structure<a class="headerlink" href="#view-tf-tree-structure" title="Link to this heading"></a></h3>
|
||||
<h3><span class="section-number">4.4.4.1. </span>View TF Tree Structure<a class="headerlink" href="#view-tf-tree-structure" title="Link to this heading"></a></h3>
|
||||
<p>Use the following ROS2 commands to print and visualize the TF tree published by the camera package:</p>
|
||||
<p><strong>Print all TF relationships:</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
|
||||
@@ -439,7 +458,7 @@
|
||||
</div>
|
||||
</section>
|
||||
<section id="visualize-tf-tree-in-rviz2">
|
||||
<h3><span class="section-number">4.4.3.2. </span>Visualize TF Tree in rviz2<a class="headerlink" href="#visualize-tf-tree-in-rviz2" title="Link to this heading"></a></h3>
|
||||
<h3><span class="section-number">4.4.4.2. </span>Visualize TF Tree in rviz2<a class="headerlink" href="#visualize-tf-tree-in-rviz2" title="Link to this heading"></a></h3>
|
||||
<p>Use rviz2 to visualize the TF tree and relative frame poses in real time:</p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>rviz2
|
||||
</pre></div>
|
||||
@@ -454,9 +473,9 @@
|
||||
</section>
|
||||
</section>
|
||||
<section id="camera-tf-calculation-and-publishing-mechanism">
|
||||
<h2><span class="section-number">4.4.4. </span>Camera TF Calculation and Publishing Mechanism<a class="headerlink" href="#camera-tf-calculation-and-publishing-mechanism" title="Link to this heading"></a></h2>
|
||||
<h2><span class="section-number">4.4.5. </span>Camera TF Calculation and Publishing Mechanism<a class="headerlink" href="#camera-tf-calculation-and-publishing-mechanism" title="Link to this heading"></a></h2>
|
||||
<section id="core-function-obcameranode-calcandpublishstatictransform">
|
||||
<h3><span class="section-number">4.4.4.1. </span>Core Function: <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="#core-function-obcameranode-calcandpublishstatictransform" title="Link to this heading"></a></h3>
|
||||
<h3><span class="section-number">4.4.5.1. </span>Core Function: <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="#core-function-obcameranode-calcandpublishstatictransform" title="Link to this heading"></a></h3>
|
||||
<p>The camera node uses this function to calculate and publish all static transforms between sensors.</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>
|
||||
@@ -626,7 +645,7 @@
|
||||
</div>
|
||||
</section>
|
||||
<section id="function-breakdown">
|
||||
<h3><span class="section-number">4.4.4.2. </span>Function Breakdown<a class="headerlink" href="#function-breakdown" title="Link to this heading"></a></h3>
|
||||
<h3><span class="section-number">4.4.5.2. </span>Function Breakdown<a class="headerlink" href="#function-breakdown" title="Link to this heading"></a></h3>
|
||||
<p>Detailed explanation of the code:</p>
|
||||
<p><strong>Quaternion Initialization and Coordinate Transform</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>
|
||||
@@ -708,7 +727,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2025, ORBBEC INC. www.orbbec.com..
|
||||
<span class="lastupdated">Last updated on 2025-11-19 07:20:24.
|
||||
<span class="lastupdated">Last updated on 2025-11-28 12:55:13.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,12 +62,21 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. Installation</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Build from Source</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Binary Installation</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#environment">2.1.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.1.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-binary-package-installation">2.1.2. Linux Binary Package Installation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#build-from-source">2.2. Build from Source</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id1">2.2.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.2.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.3. Registration Script (Required)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#binary-installation">2.3.1. Binary Installation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#build-from-source">2.3.2. Build from Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. Registration script (required)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. Quickstarts</a><ul>
|
||||
@@ -152,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. Coordinate Systems and TF Transforms</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-sensor-structure">4.4.1. Camera sensor structure</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.2. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.3. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.3.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.3.2. Visualize TF Tree in rviz2</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#tf-from-coordinate-a-to-coordinate-b">4.4.2. TF from coordinate A to coordinate B:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.3. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.4. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.4.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.4.2. Visualize TF Tree in rviz2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.4. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.4.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.4.2. Function Breakdown</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.5. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.5.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.5.2. Function Breakdown</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -443,6 +453,26 @@
|
||||
<li><p>ROS 2 Message Quality of Service (QoS) settings. The possible values are <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> and are case-insensitive. These correspond to <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>, and <code class="docutils literal notranslate"><span class="pre">SENSOR_DATA</span></code>, respectively.</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>Enable Color image transport plugins. Default: <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>Enable Depth image transport plugins. Default: <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>Enable Left IR image transport plugins. Default: <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>Enable Right IR image transport plugins. Default: <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="sensor-controls">
|
||||
@@ -1008,7 +1038,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2025, ORBBEC INC. www.orbbec.com..
|
||||
<span class="lastupdated">Last updated on 2025-11-19 07:20:24.
|
||||
<span class="lastupdated">Last updated on 2025-11-28 12:55:13.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,12 +62,21 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. Installation</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Build from Source</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Binary Installation</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#environment">2.1.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.1.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-binary-package-installation">2.1.2. Linux Binary Package Installation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#build-from-source">2.2. Build from Source</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id1">2.2.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.2.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.3. Registration Script (Required)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#binary-installation">2.3.1. Binary Installation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#build-from-source">2.3.2. Build from Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. Registration script (required)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. Quickstarts</a><ul>
|
||||
@@ -152,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. Coordinate Systems and TF Transforms</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-sensor-structure">4.4.1. Camera sensor structure</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.2. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.3. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.3.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.3.2. Visualize TF Tree in rviz2</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#tf-from-coordinate-a-to-coordinate-b">4.4.2. TF from coordinate A to coordinate B:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.3. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.4. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.4.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.4.2. Visualize TF Tree in rviz2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.4. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.4.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.4.2. Function Breakdown</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.5. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.5.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.5.2. Function Breakdown</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -435,7 +445,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2025, ORBBEC INC. www.orbbec.com..
|
||||
<span class="lastupdated">Last updated on 2025-11-19 07:20:24.
|
||||
<span class="lastupdated">Last updated on 2025-11-28 12:55:13.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,12 +62,21 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. Installation</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Build from Source</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Binary Installation</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#environment">2.1.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.1.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-binary-package-installation">2.1.2. Linux Binary Package Installation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#build-from-source">2.2. Build from Source</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id1">2.2.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.2.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.3. Registration Script (Required)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#binary-installation">2.3.1. Binary Installation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#build-from-source">2.3.2. Build from Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. Registration script (required)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. Quickstarts</a><ul>
|
||||
@@ -152,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. Coordinate Systems and TF Transforms</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-sensor-structure">4.4.1. Camera sensor structure</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.2. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.3. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.3.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.3.2. Visualize TF Tree in rviz2</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#tf-from-coordinate-a-to-coordinate-b">4.4.2. TF from coordinate A to coordinate B:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.3. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.4. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.4.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.4.2. Visualize TF Tree in rviz2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.4. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.4.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.4.2. Function Breakdown</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.5. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.5.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.5.2. Function Breakdown</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -518,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>
|
||||
@@ -651,7 +665,7 @@ ros2<span class="w"> </span>service<span class="w"> </span>call<span class="w">
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2025, ORBBEC INC. www.orbbec.com..
|
||||
<span class="lastupdated">Last updated on 2025-11-19 07:20:24.
|
||||
<span class="lastupdated">Last updated on 2025-11-28 12:55:13.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,12 +62,21 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../2_installation/installation.html">2. Installation</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Build from Source</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html">2.1. Binary Installation</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#environment">2.1.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.1.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-binary-package-installation">2.1.2. Linux Binary Package Installation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/build_the_package.html#build-from-source">2.2. Build from Source</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#id1">2.2.1. Environment</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/build_the_package.html#linux-ros2-wrapper-compilation">2.2.2. Linux ROS2 Wrapper Compilation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.3. Registration Script (Required)</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#binary-installation">2.3.1. Binary Installation</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../2_installation/registration_script.html#build-from-source">2.3.2. Build from Source</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="../2_installation/registration_script.html">2.2. Registration script (required)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../3_quickstarts/quickstarts.html">3. Quickstarts</a><ul>
|
||||
@@ -152,15 +161,16 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. Coordinate Systems and TF Transforms</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-sensor-structure">4.4.1. Camera sensor structure</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.2. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.3. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.3.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.3.2. Visualize TF Tree in rviz2</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#tf-from-coordinate-a-to-coordinate-b">4.4.2. TF from coordinate A to coordinate B:</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#ros2-robot-coordinate-system-vs-camera-optical-coordinate-system">4.4.3. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.4. Using ROS2 TF Tools</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.4.1. View TF Tree Structure</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.4.2. Visualize TF Tree in rviz2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.4. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.4.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.4.2. Function Breakdown</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.5. Camera TF Calculation and Publishing Mechanism</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.5.1. Core Function: OBCameraNode::calcAndPublishStaticTransform()</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.5.2. Function Breakdown</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -500,7 +510,7 @@
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2025, ORBBEC INC. www.orbbec.com..
|
||||
<span class="lastupdated">Last updated on 2025-11-19 07:20:24.
|
||||
<span class="lastupdated">Last updated on 2025-11-28 12:55:13.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user