27 lines
623 B
C
27 lines
623 B
C
|
#ifndef REFEREE_H
|
|||
|
#define REFEREE_H
|
|||
|
|
|||
|
#include "rm_referee.h"
|
|||
|
#include "robot_def.h"
|
|||
|
|
|||
|
/**
|
|||
|
* @brief 初始化裁判系统交互任务(UI和多机通信)
|
|||
|
*
|
|||
|
*/
|
|||
|
extern Referee_Interactive_info_t ui_data; // UI数据,将底盘中的数据传入此结构体的对应变量中,UI会自动检测是否变化,对应显示UI
|
|||
|
referee_info_t *UITaskInit(UART_HandleTypeDef *referee_usart_handle, Referee_Interactive_info_t *UI_data);
|
|||
|
|
|||
|
/**
|
|||
|
* @brief 在referee task之前调用,添加在freertos.c中
|
|||
|
*
|
|||
|
*/
|
|||
|
void MyUIInit();
|
|||
|
|
|||
|
/**
|
|||
|
* @brief 裁判系统交互任务(UI和多机通信)
|
|||
|
*
|
|||
|
*/
|
|||
|
void UITask();
|
|||
|
|
|||
|
#endif // REFEREE_H
|