This commit is contained in:
2026-03-28 17:57:28 +08:00
parent 0e9f24d3f6
commit 1bc1f7a87c

View File

@@ -11,7 +11,7 @@
#define LADRC_DEFAULT_OUT_MAX 1000.0f
/* 把目标爬坡放到控制循环内部,避免依赖外部调用频率 */
#define LADRC_TARGET_SLEW_RPM_PER_S 40.0f
#define LADRC_TARGET_SLEW_RPM_PER_S 100.0f
static float LADRC_Abs(float x);
static float LADRC_Clamp(float x, float min_value, float max_value);