mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 20:17:47 +08:00
deploy: ab7101f5ef
This commit is contained in:
@@ -442,22 +442,18 @@
|
||||
</section>
|
||||
<section id="how-to-collect-and-save-logs">
|
||||
<h2><span class="section-number">8.3. </span>How to Collect and Save Logs<a class="headerlink" href="#how-to-collect-and-save-logs" title="Link to this heading"></a></h2>
|
||||
<ul class="simple">
|
||||
<li><p><strong>SDK debug logs</strong></p></li>
|
||||
</ul>
|
||||
<p><strong>1. SDK debug logs</strong></p>
|
||||
<p>Set the launch parameter <code class="docutils literal notranslate"><span class="pre">log_level</span></code> to <code class="docutils literal notranslate"><span class="pre">debug</span></code>. After running, the SDK will generate log files in the <code class="docutils literal notranslate"><span class="pre">Log/</span></code> folder under the current project directory. If you want a more recognizable file name for this test, you can set the parameter <code class="docutils literal notranslate"><span class="pre">log_file_name</span></code>.</p>
|
||||
<blockquote>
|
||||
<div><p>SDK logs are appended to the same file: multiple launches will continue writing into the same log file.
|
||||
Recommendation: before packaging logs to send to technical support, delete old log files, then reproduce the issue and collect new logs. This keeps the logs cleaner and makes troubleshooting more accurate.</p>
|
||||
</div></blockquote>
|
||||
<ul class="simple">
|
||||
<li><p><strong>ROS 2 logs (<code class="docutils literal notranslate"><span class="pre">~/.ros/log</span></code>)</strong></p></li>
|
||||
<li><p>SDK logs are appended to the same file: multiple launches will continue writing into the same log file.</p></li>
|
||||
<li><p>Recommendation: before packaging logs to send to technical support, delete old log files, then reproduce the issue and collect new logs. This keeps the logs cleaner and makes troubleshooting more accurate.</p></li>
|
||||
</ul>
|
||||
<p><strong>2. ROS 2 logs (<code class="docutils literal notranslate"><span class="pre">~/.ros/log</span></code>)</strong></p>
|
||||
<p>In the launch file, set the node (or composable node container) parameter <code class="docutils literal notranslate"><span class="pre">output</span></code> to <code class="docutils literal notranslate"><span class="pre">"log"</span></code> to save ROS 2 logs locally.</p>
|
||||
<blockquote>
|
||||
<div><p>After setting <code class="docutils literal notranslate"><span class="pre">output="log"</span></code>, ROS 2 logs will be stored in the <code class="docutils literal notranslate"><span class="pre">~/.ros/log/</span></code> directory.
|
||||
When submitting an issue, please package both the SDK logs under the <code class="docutils literal notranslate"><span class="pre">Log/</span></code> directory and the corresponding ROS 2 logs under <code class="docutils literal notranslate"><span class="pre">~/.ros/log/</span></code> for the same time period.</p>
|
||||
</div></blockquote>
|
||||
<ul class="simple">
|
||||
<li><p>After setting <code class="docutils literal notranslate"><span class="pre">output="log"</span></code>, ROS 2 logs will be stored in the <code class="docutils literal notranslate"><span class="pre">~/.ros/log/</span></code> directory.</p></li>
|
||||
<li><p>When submitting an issue, please package both the SDK logs under the <code class="docutils literal notranslate"><span class="pre">Log/</span></code> directory and the corresponding ROS 2 logs under <code class="docutils literal notranslate"><span class="pre">~/.ros/log/</span></code> for the same time period.</p></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="why-are-there-so-many-launch-files">
|
||||
<h2><span class="section-number">8.4. </span>Why Are There So Many Launch Files?<a class="headerlink" href="#why-are-there-so-many-launch-files" title="Link to this heading"></a></h2>
|
||||
@@ -553,7 +549,7 @@ When setting <code class="docutils literal notranslate"><span class="pre">softwa
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2025, ORBBEC INC. www.orbbec.com..
|
||||
<span class="lastupdated">Last updated on 2026-02-05 06:39:12.
|
||||
<span class="lastupdated">Last updated on 2026-02-05 06:50:08.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user