NEW_bubing4_gimbal/modules/referee/referee_task.h

27 lines
623 B
C
Raw Permalink Normal View History

2024-12-25 15:26:39 +08:00
#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