增加发车和停车菜单
增加停车相关条件开关功能
pref:
弯道速度控制一次函数->二次函数
删除图像下发无意义的0状态
fix:
修复下位机多次复位才能触发上位机复位
This commit is contained in:
2024-08-12 18:08:46 +08:00
parent 92eaf372ff
commit 06004e9e0b
14 changed files with 378 additions and 110 deletions

View File

@@ -2,7 +2,7 @@
#include "page_ui_widget.h"
#include "jj_motion.h"
#include "page.h"
#include"jj_voltage.h"
#include "jj_voltage.h"
#include <math.h>
#define LINE_HEAD 0
@@ -61,9 +61,11 @@ static void Loop()
ips200_show_string(0, 160, "outpos");
ips200_show_float(80, 160, out_pos, 4, 1);
ips200_show_string(0, 180, "vol");
ips200_show_float(80, 180, (float)now_vol, 4,2);
ips200_show_string(0, 200, "setsp");
ips200_show_float(80, 200, set_speed, 4,2);
ips200_show_float(80, 180, (float)now_vol, 4, 2);
ips200_show_string(0, 200, "setsp");
ips200_show_float(80, 200, set_speed, 4, 2);
ips200_show_string(0, 220, "dis");
ips200_show_float(80, 220, start_dis, 4, 2);
ips200_show_string(180, 0, "ls");
ips200_show_float(220, 0, pwm_duty_ls, 4, 1);