开源改变世界

[消息:警告:线性拟合尚未实现。] #866

推推 grbl 3年前 (2023-01-30) 149次浏览
关闭
Romain3481 开启了这个问题 2021 年 4 月 16 日 · 2 条评论
关闭

[消息:警告:线性拟合尚未实现。]#866

Romain3481 开启了这个问题 2021 年 4 月 16 日 · 2 条评论

注释

[消息:警告:线性拟合尚未实现。] #866
罗曼3481 评论了 2021 年 4 月 16 日  

你好呀 !

我正在尝试线性分段主轴,我设置并运行 fit_nonlinear_spindle.py,将解决方案复制粘贴到 config.h 中,激活 ENABLE_PIECEWISE_LINEAR_SPINDLE,但是当我启动 M3 S***** 时,我得到 [MSG:Warning: Linear fit not尚未实施。]
感谢您的帮助:)

我正在使用最新版本的 GRBL ESP32


// Enables a piecewise linear model of the spindle PWM/speed output. Requires a solution by the
// 'fit_nonlinear_spindle.py' script in the /doc/script folder of the repo. See file comments
// on how to gather spindle data and run the script to generate a solution.
#define ENABLE_PIECEWISE_LINEAR_SPINDLE  // Default disabled. Uncomment to enable.

// N_PIECES, RPM_MAX, RPM_MIN, RPM_POINTxx, and RPM_LINE_XX constants are all set and given by
// the 'fit_nonlinear_spindle.py' script solution. Used only when ENABLE_PIECEWISE_LINEAR_SPINDLE
// is enabled. Make sure the constant values are exactly the same as the script solution.
// NOTE: When N_PIECES < 4, unused RPM_LINE and RPM_POINT defines are not required and omitted.

#define N_PIECES 4
#define RPM_MAX 24162.9
#define RPM_MIN 118.4
#define RPM_POINT12 3177.2
#define RPM_POINT23 13581.6
#define RPM_POINT34 21467.2
#define RPM_LINE_A1 5.878084e-01
#define RPM_LINE_B1 6.759473e+01
#define RPM_LINE_A2 9.803514e-01
#define RPM_LINE_B2 1.314789e+03
#define RPM_LINE_A3 1.014510e+00
#define RPM_LINE_B3 1.778715e+03
#define RPM_LINE_A4 1.483485e+00
#define RPM_LINE_B4 1.184633e+04
[消息:警告:线性拟合尚未实现。] #866
所有者

目前不支持该功能。我们一直在 Discord 服务器上讨论它。