2023-04-19 18:52:40 +08:00
|
|
|
#ifndef REFEREE_H
|
|
|
|
#define REFEREE_H
|
|
|
|
|
|
|
|
#include "rm_referee.h"
|
|
|
|
#include "robot_def.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 初始化裁判系统交互任务(UI和多机通信)
|
|
|
|
*
|
|
|
|
*/
|
2023-06-15 12:19:32 +08:00
|
|
|
referee_info_t *UITaskInit(UART_HandleTypeDef *referee_usart_handle, Referee_Interactive_info_t *UI_data);
|
2023-04-19 19:28:17 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 在referee task之前调用,添加在freertos.c中
|
|
|
|
*
|
|
|
|
*/
|
2023-06-15 12:19:32 +08:00
|
|
|
void MyUIInit();
|
2023-04-19 18:52:40 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 裁判系统交互任务(UI和多机通信)
|
|
|
|
*
|
|
|
|
*/
|
2023-06-15 12:19:32 +08:00
|
|
|
void UITask();
|
2023-04-19 18:52:40 +08:00
|
|
|
|
|
|
|
#endif // REFEREE_H
|