增加上一次未提交的部分

This commit is contained in:
Kidenygood
2023-04-19 22:51:02 +08:00
parent fb3472b556
commit 4bb45d1f18
4 changed files with 145 additions and 35 deletions

View File

@@ -43,7 +43,7 @@ static Chassis_Ctrl_Cmd_s chassis_cmd_recv; // 底盘接收到的控制
static Chassis_Upload_Data_s chassis_feedback_data; // 底盘回传的反馈数据
static referee_info_t* referee_data; // 用于获取裁判系统的数据
static Referee_Interactive_info_t ui_data; // UI数据
static Referee_Interactive_info_t ui_data; // UI数据将底盘中的数据传入此结构体的对应变量中UI会自动检测是否变化对应显示UI
static SuperCapInstance *cap; // 超级电容
static DJIMotorInstance *motor_lf, *motor_rf, *motor_lb, *motor_rb; // left right forward back
@@ -105,9 +105,6 @@ void ChassisInit()
referee_data = Referee_Interactive_init(&huart6,&ui_data); // 裁判系统初始化
// while (referee_data->GameRobotState.robot_id ==0);
// Referee_Interactive_init(referee_data);
SuperCap_Init_Config_s cap_conf = {
.can_config = {
.can_handle = &hcan2,