Deploying to gh-pages from @ Klipper3d/klipper@a709ba43af 🚀

This commit is contained in:
KevinOConnor
2022-08-13 00:04:20 +00:00
parent df4cbd233c
commit 5a515b4d97
15 changed files with 213 additions and 213 deletions

View File

@@ -1048,10 +1048,10 @@
<li class="md-nav__item">
<a href="#simulavr" class="md-nav__link">
用 simulavr 测试
使用 simulavr 测试
</a>
<nav class="md-nav" aria-label="用 simulavr 测试">
<nav class="md-nav" aria-label="使用 simulavr 测试">
<ul class="md-nav__list">
<li class="md-nav__item">
@@ -1354,10 +1354,10 @@
<li class="md-nav__item">
<a href="#simulavr" class="md-nav__link">
用 simulavr 测试
使用 simulavr 测试
</a>
<nav class="md-nav" aria-label="用 simulavr 测试">
<nav class="md-nav" aria-label="使用 simulavr 测试">
<ul class="md-nav__list">
<li class="md-nav__item">
@@ -1416,7 +1416,7 @@
make
</code></pre></div>
<p>完成上述操作后,可以在批处理模式下运行 Klipper请参<a href="Installation.html">安装</a>以了解构建 Python 虚拟环境(venv)和 printer.cfg 文件所需的步骤):</p>
<p>完成上述操作后,可以在批处理模式下运行 Klipper请参<a href="Installation.html">安装</a>以了解构建 Python 虚拟环境(venv)和 printer.cfg 文件所需的步骤):</p>
<div class="highlight"><pre><span></span><code>~/klippy-env/bin/python ./klippy/klippy.py ~/printer.cfg -i test.gcode -o test.serial -v -d out/klipper.dict
</code></pre></div>
@@ -1480,7 +1480,7 @@ cp /tmp/klippy.log .
</code></pre></div>
<p>该脚本将提取打印机的配置文件,并提取 MCU 的关闭信息。来自 MCU 关闭的信息转储(如果存在的话)将按时间戳重新排序,以协助诊断因果关系的情况。</p>
<h2 id="simulavr">用 simulavr 测试<a class="headerlink" href="#simulavr" title="Permanent link">&para;</a></h2>
<h2 id="simulavr">使用 simulavr 测试<a class="headerlink" href="#simulavr" title="Permanent link">&para;</a></h2>
<p><a href="http://www.nongnu.org/simulavr/">simulavr</a>工具可以模拟 Atmel ATmega 微控制器。本章描述了如何通过simulavr运行测试gcode文件。由于该工具需要大量cpu资源建议在台式机而不是树莓派上运行。</p>
<p>To use simulavr, download the simulavr package and compile with python support. Note that the build system may need to have some packages (such as swig) installed in order to build the python module.</p>
<div class="highlight"><pre><span></span><code>git clone git://git.savannah.nongnu.org/simulavr.git
@@ -1514,7 +1514,7 @@ make menuconfig
<div class="highlight"><pre><span></span><code>./scripts/avrsim.py out/klipper.elf
</code></pre></div>
<p>然后在另一个窗口中运行simulavr可以运行以下内容从一个文件例如"test.gcode"中读取gcode用Klippy处理它并将其发送到simulavr中运行的Klipper关于建立python虚拟环境的必要步骤<a href="Installation.html">安装</a></p>
<p>然后在另一个窗口中运行simulavr可以运行以下内容从一个文件例如"test.gcode"中读取gcode用Klippy处理它并将其发送到simulavr中运行的Klipper关于建立python虚拟环境的必要步骤<a href="Installation.html">安装</a></p>
<div class="highlight"><pre><span></span><code>~/klippy-env/bin/python ./klippy/klippy.py config/generic-simulavr.cfg -i test.gcode -v
</code></pre></div>

View File

@@ -1580,13 +1580,13 @@
</table>
<p>部分ADXL345开发板的Fritzing接线图如下</p>
<p><img alt="ADXL345-树莓派" src="img/adxl345-fritzing.png" /></p>
<p>为避免损树莓派或加速度传感器,请再三确认接线正确再对树莓派上电。</p>
<p>为避免损树莓派或加速度传感器,请检测接线正确再对树莓派上电。</p>
<h3 id="_4">固定加速度传感器<a class="headerlink" href="#_4" title="Permanent link">&para;</a></h3>
<p>加速度传感器应固定在打印头上。应根据打印机的情况设计合适的固定件。推荐将加速度的测量轴与打印机运行轴的方向进行对齐。然而,如果轴对齐极其麻烦,可以将打印机的轴使用其他测量轴对齐,比如打印机+X对应传感器-X甚至打印机+X对应传感器-Z等。</p>
<p>下面是ADXL345固定到SmartEffector的示例</p>
<p><img alt="ADXL345固定在SmartEffector" src="img/adxl345-mount.jpg" /></p>
<p>注意,滑床式打印机需要设计两个固定件:一个安装于打印头,另一个用于热床,并进行两次测量。详见 <a href="#bed-slinger-printers">对应分节</a></p>
<p><strong>注意</strong>:务必确保加速度传感器和任何螺丝都不应该接触到打印机的金属部分。紧固件必须设计成在加速度传感器和打印机框体间形成电气绝缘。错误的设计可能会形成短路,从而损电气元件。</p>
<p><strong>注意</strong>:务必确保加速度传感器和任何螺丝都不应该接触到打印机的金属部分。紧固件必须设计成在加速度传感器和打印机框体间形成电气绝缘。错误的设计可能会形成短路,从而损电气元件。</p>
<h3 id="_5">软件设置<a class="headerlink" href="#_5" title="Permanent link">&para;</a></h3>
<p>Note that resonance measurements and shaper auto-calibration require additional software dependencies not installed by default. First, run on your Raspberry Pi the following commands:</p>
<div class="highlight"><pre><span></span><code>sudo apt update
@@ -1633,10 +1633,10 @@ probe_points:
<h3 id="_7">检查设置<a class="headerlink" href="#_7" title="Permanent link">&para;</a></h3>
<p>首先测试加速度传感器的连接。</p>
<ul>
<li>对于只有一个加速度传感器的情况在Octoprint输入<code>ACCELEROMETER_QUERY</code>遍历已连接的加速度传感器)</li>
<li>对于只有一个加速度传感器的情况在Octoprint输入<code>ACCELEROMETER_QUERY</code>检查已连接的加速度传感器状态</li>
<li>对于“滑动床”(即有多个加速度传感器),输入<code>ACCELEROMETER_QUERY CHIP=&lt;chip&gt;</code>,其中<code>&lt;chip&gt;</code>是设置文档中的加速度传感器命名,例如 <code>CHIP=bed</code>(参见:<a href="#bed-slinger-printers">bed-slinger</a>)。</li>
</ul>
<p>画面将输出加速度传感器的读值,板子自由落体加速度,例如:</p>
<p>你应该会看到来自加速度计的当前测量值包括自由落体free-fall的加速度比如说。</p>
<div class="highlight"><pre><span></span><code>Recv: // adxl345 values (x, y, z): 470.719200, 941.438400, 9728.196800
</code></pre></div>
@@ -1647,8 +1647,8 @@ probe_points:
<div class="highlight"><pre><span></span><code>TEST_RESONANCES AXIS=X
</code></pre></div>
<p>注意这将在X轴上产生振动。如果之前启用了输入整形它也将禁用输入整形因为在启用输入整形的情况下运行共振测试是无效的。</p>
<p><strong>注意!</strong>请确保第一次运行时时刻观察打印机,以确保振动不会太剧烈(<code>M112</code>命令可以在紧急情况下中止测试;但愿不会到这一步)。如果振动确实太强烈,你可以尝试在<code>[Resonance_tester]</code>分段中为<code>accel_per_hz</code>参数指定一个低于默认值的值,例如:</p>
<p>注意这将在X轴上产生振动。如果之前启用了输入整形input shaping ,它也将禁用输入整形,因为在启用输入整形的情况下运行共振测试是无效的。</p>
<p><strong>注意!</strong>请确保第一次运行时时刻观察打印机,以确保振动不会太剧烈(<code>M112</code>命令可以在紧急情况下中止测试;但愿不会到这一步)。如果振动确实太强烈,你可以尝试在<code>[Resonance_tester]</code>分段中为<code>accel_per_hz</code>参数指定一个低于默认值的值,比如说。</p>
<div class="highlight"><pre><span></span><code>[resonance_tester]
accel_chip: adxl345
accel_per_hz: 50 # default is 75

File diff suppressed because one or more lines are too long

View File

@@ -2,252 +2,252 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-08-12</lastmod>
<lastmod>2022-08-13</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.