mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
application中分离referee部分,相关代码重构,完成步兵UI的init
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#if defined(ONE_BOARD) || defined(CHASSIS_BOARD)
|
||||
#include "chassis.h"
|
||||
#include "referee.h"
|
||||
#endif
|
||||
|
||||
#if defined(ONE_BOARD) || defined(GIMBAL_BOARD)
|
||||
@@ -23,6 +24,7 @@ void RobotInit()
|
||||
#endif
|
||||
|
||||
#if defined(ONE_BOARD) || defined(CHASSIS_BOARD)
|
||||
Referee_Interactive_init();//syh
|
||||
ChassisInit();
|
||||
#endif
|
||||
}
|
||||
@@ -37,5 +39,6 @@ void RobotTask()
|
||||
|
||||
#if defined(ONE_BOARD) || defined(CHASSIS_BOARD)
|
||||
ChassisTask();
|
||||
Referee_Interactive_task();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user