同步步兵代码,暂时关闭底盘跟随
This commit is contained in:
21
云台/云台-old/System/CAN.h
Normal file
21
云台/云台-old/System/CAN.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef __CAN_H
|
||||
#define __CAN_H
|
||||
|
||||
typedef enum
|
||||
{
|
||||
CAN_M3508=0,//M3508
|
||||
CAN_M2006,//M2006
|
||||
CAN_GM6020,//GM6020
|
||||
CAN_RoboMasterC,//C板
|
||||
}CAN_MotorModel;//CAN总线设备分类枚举
|
||||
|
||||
extern uint8_t CAN_CAN1DeviceNumber;//CAN1总线上设备数量
|
||||
extern uint8_t CAN_CAN2DeviceNumber;//CAN2总线上设备数量
|
||||
extern uint8_t CAN_DeviceNumber;//CAN总线上设备数量
|
||||
extern int8_t CAN_IDSelect;//CAN总线上ID列表选择位
|
||||
|
||||
void CAN_CANInit(void);//CAN总线初始化
|
||||
void CAN_CANIDReset(void);//CAN接收ID列表复位
|
||||
void CAN_CAN_GetRefereeSystemData(void);//CAN接收获取裁判系统状态
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user