feat: 增加分段pid

This commit is contained in:
2024-03-28 04:24:59 +08:00
parent 99c582c53e
commit 8020561175
11 changed files with 278 additions and 73 deletions

View File

@@ -56,6 +56,15 @@ static void Loop()
ips200_show_float(80, 140, out_gyro, 4, 1);
ips200_show_string(0, 160, "outpos");
ips200_show_float(80, 160, out_pos, 4, 1);
ips200_show_string(0, 180, "ls");
ips200_show_float(80, 180, pwm_duty_ls, 4, 1);
ips200_show_string(0, 200, "rs");
ips200_show_float(80, 200, pwm_duty_rs, 4, 1);
ips200_show_string(0, 220, "lb");
ips200_show_float(80, 220, pwm_duty_lb, 4, 1);
ips200_show_string(100, 0, "rb");
ips200_show_float(180, 0, pwm_duty_rb, 4, 1);
}
/**
* @brief 页面事件