更新前提交
This commit is contained in:
parent
79ace733d3
commit
11655fbe46
|
@ -38,6 +38,8 @@ void Referee_Interactive_init()
|
|||
RefereeSend();
|
||||
//如果此处还要加入车间通信初始化,注意将referee和车间通信的数据合并后再使用
|
||||
//refereesend函数永远是最后一步
|
||||
|
||||
//串口接收需要设置喂狗
|
||||
}
|
||||
|
||||
void Referee_Interactive_task()
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue