feat:增加避障积分屏蔽出界停车,增加出界原因屏幕显示,注册分段速度系数eeprom

This commit is contained in:
2024-08-15 17:03:42 +08:00
parent c825014599
commit 9a4caf7b7c
6 changed files with 53 additions and 24 deletions

View File

@@ -66,7 +66,17 @@ static void Loop()
ips200_show_float(80, 200, set_speed, 4, 2);
ips200_show_string(0, 220, "dis");
ips200_show_float(80, 220, start_dis, 4, 2);
if (up_show_flag == 1) {
ips200_show_string(180, 200, "up ");
} else if (out_show_flag == 1) {
ips200_show_string(180, 200, "out ");
} else if (bug_show_flag == 1) {
ips200_show_string(180, 200, "bug ");
} else if (finish_show_flag == 1) {
ips200_show_string(180, 200, "finish");
} else {
ips200_show_string(180, 200, " ");
}
ips200_show_string(180, 0, "ls");
ips200_show_float(220, 0, pwm_duty_ls, 4, 1);
ips200_show_string(180, 20, "rs");