更新前提交

This commit is contained in:
Kidenygood 2023-04-17 16:06:13 +08:00
parent 79ace733d3
commit 11655fbe46
2 changed files with 8 additions and 6 deletions

View File

@ -38,6 +38,8 @@ void Referee_Interactive_init()
RefereeSend();
//如果此处还要加入车间通信初始化注意将referee和车间通信的数据合并后再使用
//refereesend函数永远是最后一步
//串口接收需要设置喂狗
}
void Referee_Interactive_task()

View File

@ -30,13 +30,13 @@ void RobotInit()
#if defined(ONE_BOARD) || defined(GIMBAL_BOARD)
RobotCMDInit();
GimbalInit();
ShootInit();
// GimbalInit();
// ShootInit();
#endif
#if defined(ONE_BOARD) || defined(CHASSIS_BOARD)
ChassisInit();
// ChassisInit();
#endif
// 初始化完成,开启中断
__enable_irq();
@ -47,12 +47,12 @@ void RobotTask()
{
#if defined(ONE_BOARD) || defined(GIMBAL_BOARD)
RobotCMDTask();
GimbalTask();
ShootTask();
// GimbalTask();
// ShootTask();
#endif
#if defined(ONE_BOARD) || defined(CHASSIS_BOARD)
ChassisTask();
// ChassisTask();
// Referee_Interactive_task();
#endif
}