sentry_left/modules/referee/referee_task.h

35 lines
687 B
C

#ifndef REFEREE_H
#define REFEREE_H
#include "rm_referee.h"
#include "robot_def.h"
typedef struct
{
xFrameHeader FrameHeader;
uint16_t CmdID;
ext_student_interactive_header_data_t datahead;
Sentry_Decision_Data_t SentryDecision;
uint16_t frametail;
} Sentry_CMD_t; // 打印字符串数据
/**
* @brief 初始化裁判系统交互任务(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