diff --git a/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc b/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc index b3b61211d3b7..b8fb44d4bc9a 100644 Binary files a/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc and b/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc differ diff --git a/fr/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc b/fr/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc index b3b61211d3b7..b8fb44d4bc9a 100644 Binary files a/fr/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc and b/fr/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc differ diff --git a/fr/sitemap.xml b/fr/sitemap.xml index 42c82f4a1a72..91de61c8a87e 100644 --- a/fr/sitemap.xml +++ b/fr/sitemap.xml @@ -2,267 +2,267 @@ None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily \ No newline at end of file diff --git a/fr/sitemap.xml.gz b/fr/sitemap.xml.gz index 363edc136037..3ede75c353ae 100644 Binary files a/fr/sitemap.xml.gz and b/fr/sitemap.xml.gz differ diff --git a/hu/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc b/hu/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc index b3b61211d3b7..b8fb44d4bc9a 100644 Binary files a/hu/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc and b/hu/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc differ diff --git a/hu/sitemap.xml b/hu/sitemap.xml index 42c82f4a1a72..91de61c8a87e 100644 --- a/hu/sitemap.xml +++ b/hu/sitemap.xml @@ -2,267 +2,267 @@ None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily \ No newline at end of file diff --git a/hu/sitemap.xml.gz b/hu/sitemap.xml.gz index 2ba451e3f944..ee030ea36378 100644 Binary files a/hu/sitemap.xml.gz and b/hu/sitemap.xml.gz differ diff --git a/it/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc b/it/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc index b3b61211d3b7..b8fb44d4bc9a 100644 Binary files a/it/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc and b/it/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc differ diff --git a/it/sitemap.xml b/it/sitemap.xml index 42c82f4a1a72..91de61c8a87e 100644 --- a/it/sitemap.xml +++ b/it/sitemap.xml @@ -2,267 +2,267 @@ None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily \ No newline at end of file diff --git a/it/sitemap.xml.gz b/it/sitemap.xml.gz index fa1a49575656..131710d13dbd 100644 Binary files a/it/sitemap.xml.gz and b/it/sitemap.xml.gz differ diff --git a/sitemap.xml b/sitemap.xml index 8a07c71d1ec5..47ac093486c7 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,262 +2,262 @@ None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index 891e1071ece0..e62f10c63d45 100644 Binary files a/sitemap.xml.gz and b/sitemap.xml.gz differ diff --git a/zh-Hant/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc b/zh-Hant/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc index b3b61211d3b7..b8fb44d4bc9a 100644 Binary files a/zh-Hant/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc and b/zh-Hant/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc differ diff --git a/zh-Hant/sitemap.xml b/zh-Hant/sitemap.xml index 42c82f4a1a72..91de61c8a87e 100644 --- a/zh-Hant/sitemap.xml +++ b/zh-Hant/sitemap.xml @@ -2,267 +2,267 @@ None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily None - 2023-11-24 + 2023-11-25 daily \ No newline at end of file diff --git a/zh-Hant/sitemap.xml.gz b/zh-Hant/sitemap.xml.gz index 4245071107b1..b60455044259 100644 Binary files a/zh-Hant/sitemap.xml.gz and b/zh-Hant/sitemap.xml.gz differ diff --git a/zh/API_Server.html b/zh/API_Server.html index 04800289d1dc..470446e580e9 100644 --- a/zh/API_Server.html +++ b/zh/API_Server.html @@ -1717,7 +1717,7 @@

emergency_stopregister_remote_method

该端点允许客户端注册可从 klipper 调用的方法。成功后将返回一个空对象。

例如:{“id”:123,“method”:“register_remote_method”,“params”:{“response_template”:{“action”:“run_paneldue_deep”},“remote_method“:”paneldue_beep

-

现在可以从Klipper调用远程方法“paneldue_beep”。请注意,如果方法采用参数,则应将它们作为关键字参数提供。以下是如何从gcode_macro调用它的示例:

+

现在可以从Klipper调用远程方法 paneldue_beep。请注意,如果方法采用参数,则应将它们作为关键字参数提供。以下是如何从gcode_macro调用它的示例:

[gcode_macro PANELDUE_BEEP]
 gcode:
   {action_call_remote_method("paneldue_beep", frequency=300, duration=1.0)}
diff --git a/zh/Bootloader_Entry.html b/zh/Bootloader_Entry.html
index 92108600c642..778a21902eac 100644
--- a/zh/Bootloader_Entry.html
+++ b/zh/Bootloader_Entry.html
@@ -1246,11 +1246,11 @@
 
         
           
  • - - CANBUS + + CAN 总线 -
  • -

    The Klippy regression test suite requires "data dictionaries" from many platforms. The easiest way to obtain them is to download them from github. Once the data dictionaries are downloaded, use the following to run the regression suite:

    +

    Klippy回归测试套件需要来自多个平台的“数据字典”。获取它们的最简单方法是从github.下载它们。下载数据字典后,使用以下命令运行回归套件:

    tar xfz klipper-dict-20??????.tar.gz
     ~/klippy-env/bin/python ~/klipper/scripts/test_klippy.py -d dict/ ~/klipper/test/klippy/*.test
     
    @@ -1481,37 +1481,37 @@

    将G代码文件转换为微控制器命令生成的文件 test.txt 包含可读的微控制器命令列表。

    为了使批处理模式正常运行,一些响应和请求命令被禁用了。因此,实际命令和上述输出之间会有一些差异。生成的数据可以用于测试和检查,但是它不能被发送到真正的微控制器。

    运动分析和数据记录

    -

    Klipper支持记录其内部运动历史,稍后可以对其进行分析。若要使用此功能,Klipper必须在启用[API服务器](API_Server.md)的情况下启动。

    +

    Klipper支持记录其内部运动历史,稍后可以对其进行分析。若要使用此功能,Klipper必须在启用API服务器的情况下启动。

    使用 data_logger.py 工具启用数据日志记录。例如:

    ~/klipper/scripts/motan/data_logger.py /tmp/klippy_uds mylog
     
    -

    此命令将连接到Klipper API服务器,订阅状态和运动信息,并记录结果。生成两个文件-一个压缩数据文件和一个索引文件(例如“mylog.json.gz”和“mylog.index.gz”)。启动日志记录后,可以完成打印和其他操作-日志记录将在后台继续。完成日志记录后,点击“ctrl-c”退出“data_logger.py”工具。

    -

    The resulting files can be read and graphed using the motan_graph.py tool. To generate graphs on a Raspberry Pi, a one time step is necessary to install the "matplotlib" package:

    +

    此命令将连接到Klipper API服务器,订阅状态和运动信息,并记录结果。生成两个文件-一个压缩数据文件和一个索引文件(例如mylog.json.gzmylog.index.gz)。启动日志记录后,可以完成打印和其他操作-日志记录将在后台继续。完成日志记录后,点击 ctrl-c退出 data_logger.py 工具。

    +

    可以使用motan_graph.py工具读取生成的文件并绘制成图形。要在Raspberry PI上生成图形,需要一个时间步骤来安装“matplotlib”包:

    sudo apt-get update
     sudo apt-get install python-matplotlib
     
    -

    However, it may be more convenient to copy the data files to a desktop class machine along with the Python code in the scripts/motan/ directory. The motion analysis scripts should run on any machine with a recent version of Python and Matplotlib installed.

    -

    Graphs can be generated with a command like the following:

    +

    但是,将数据文件与scripts/motan/目录中的Python代码一起复制到台式机上可能会更方便。运动分析脚本应在安装了最新版本的PYTHON)和Matplotlib)的任何计算机上运行。

    +

    可以使用如下所示的命令生成图形:

    ~/klipper/scripts/motan/motan_graph.py mylog -o mygraph.png
     
    -

    One can use the -g option to specify the datasets to graph (it takes a Python literal containing a list of lists). For example:

    +

    可以使用-g选项来指定要绘制图形的数据集(它接受一个包含列表的列表Python文字)。例如:

    ~/klipper/scripts/motan/motan_graph.py mylog -g '[["trapq(toolhead,velocity)"], ["trapq(toolhead,accel)"]]'
     
    -

    可用数据集的列表可以使用“-l”选项找到,例如:

    +

    可用数据集的列表可以使用 -l 选项找到,例如:

    ~/klipper/scripts/motan/motan_graph.py -l
     
    -

    It is also possible to specify matplotlib plot options for each dataset:

    +

    还可以为每个数据集指定matplotlib绘图选项:

    ~/klipper/scripts/motan/motan_graph.py mylog -g '[["trapq(toolhead,velocity)?color=red&alpha=0.4"]]'
     
    -

    Many matplotlib options are available; some examples are "color", "label", "alpha", and "linestyle".

    -

    The motan_graph.py tool supports several other command-line options - use the --help option to see a list. It may also be convenient to view/modify the motan_graph.py script itself.

    -

    The raw data logs produced by the data_logger.py tool follow the format described in the API Server. It may be useful to inspect the data with a Unix command like the following: gunzip < mylog.json.gz | tr '\03' '\n' | less

    +

    有许多matplotlib选项可用;例如“颜色”、“标签”、“阿尔法”和“线条样式”。

    +

    motan_graph.py工具支持其他几个命令行选项--使用--help选项查看列表。查看/修改motan_graph.py脚本本身可能也很方便。

    +

    data_logger.py工具产生的原始数据日志遵循API服务器中描述的格式。使用如下所示的Unix命令检查数据可能很有用:GunZip<mylog.json.gz|tr‘\03’\n‘|less

    生成负载图

    Klippy日志文件(/tmp/klippy.log)存储了关于带宽、微控制器负载和主机缓冲区负载的统计数据。在打印之后,绘制这些统计数字可能会很有用。

    为了生成图形,有必要安装"matplotlib"包:

    @@ -1536,19 +1536,19 @@

    从klippy.log文件中提取信息该脚本将提取打印机的配置文件,并提取 MCU 的关闭信息。来自 MCU 关闭的信息转储(如果存在的话)将按时间戳重新排序,以协助诊断因果关系的情况。

    使用 simulavr 测试

    simulavr工具可以模拟 Atmel ATmega 微控制器。本章描述了如何通过simulavr运行测试gcode文件。由于该工具需要大量cpu资源,建议在台式机(而不是树莓派)上运行。

    -

    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.

    +

    要使用Simavr,请下载Simavr包并在支持Python的情况下进行编译。请注意,构建系统可能需要安装一些包(如SWIG)才能构建Python模块。

    git clone git://git.savannah.nongnu.org/simulavr.git
     cd simulavr
     make python
     make build
     
    -

    Make sure a file like ./build/pysimulavr/_pysimulavr.*.so is present after the above compilation:

    +

    确保在上述编译后存在类似./Build/pysimavr/_pysimavr.*.so的文件:

    ls ./build/pysimulavr/_pysimulavr.*.so
     
    -

    This command should report a specific file (e.g. ./build/pysimulavr/_pysimulavr.cpython-39-x86_64-linux-gnu.so) and not an error.

    -

    If you are on a Debian-based system (Debian, Ubuntu, etc.) you can install the following packages and generate *.deb files for system-wide installation of simulavr:

    +

    此命令应报告特定文件(例如./build/pysimulavr/_pysimulavr.cpython-39-x86_64-linux-gnu.so),而不是错误)。

    +

    如果您使用的是基于Debian的系统(Debian、Ubuntu等)。您可以安装以下程序包并生成*.deb文件,以便在系统范围内安装simavr:

    sudo apt update
     sudo apt install g++ make cmake swig rst2pdf help2man texinfo
     make cfgclean python debian
    @@ -1560,11 +1560,11 @@ 

    使用 simulavr 测试

    -

    and compile the micro-controller software for an AVR atmega644p and select SIMULAVR software emulation support. Then one can compile Klipper (run make) and then start the simulation with:

    +

    并针对AVR atmega644P编写了微控制器软件,并选择了SIMULAVR软件仿真支持。然后可以编译Klipper(运行make),然后使用以下命令开始模拟:

    PYTHONPATH=/path/to/simulavr/build/pysimulavr/ ./scripts/avrsim.py out/klipper.elf
     
    -

    Note that if you have installed python3-simulavr system-wide, you do not need to set PYTHONPATH, and can simply run the simulator as

    +

    请注意,如果您已经在系统范围内安装了python3-simavr,则不需要设置PYTHONPATH,只需将其作为模拟器

    ./scripts/avrsim.py out/klipper.elf
     
    diff --git a/zh/Endstop_Phase.html b/zh/Endstop_Phase.html index 86db03f61c6a..ce23ad961f93 100644 --- a/zh/Endstop_Phase.html +++ b/zh/Endstop_Phase.html @@ -1383,7 +1383,7 @@

    校准限位相位额外要点