infantry_gimbal/modules/referee/referee_task.h

27 lines
623 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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