同步最新代码

This commit is contained in:
2026-01-13 14:52:42 +08:00
commit b1418b080c
1011 changed files with 429902 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#ifndef __REFEREESYSTEM_H
#define __REFEREESYSTEM_H
extern uint8_t RefereeSystem_ShooterStatus;//发射机构状态,0-发射机构未上电,1-发射机构上电
extern uint16_t RefereeSystem_Ref,RefereeSystem_Buffer;//底盘功率上限,底盘功率缓冲能量
extern float RefereeSystem_Power;//底盘实时功率
extern uint8_t RefereeSystem_RobotID;//机器人ID
uint8_t RefereeSystem_GetCRC8CheckSum(uint8_t *Data,uint16_t Length,uint8_t Initial);//裁判系统CRC8查表计算
uint16_t RefereeSystem_GetCRC16CheckSum(uint8_t *Data,uint32_t Length,uint16_t Initial);//裁判系统CRC16查表计算
void RefereeSystem_Init(void);//裁判系统接收初始化
#endif