mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
合并前提交
This commit is contained in:
@@ -16,7 +16,6 @@ static Gimbal_Ctrl_Cmd_s gimbal_cmd_recv; // 来自cmd的控制信息
|
||||
|
||||
void GimbalInit()
|
||||
{
|
||||
/* syh referee不需要imu暂时关闭以加快初始化速度 */
|
||||
// gimba_IMU_data = INS_Init(); // IMU先初始化,获取姿态数据指针赋给yaw电机的其他数据来源
|
||||
|
||||
// YAW
|
||||
|
||||
@@ -178,8 +178,6 @@ static void robot_mode_change(Referee_Interactive_info_t *_Interactive_data) //
|
||||
|
||||
static void My_UI_Refresh(referee_info_t *_referee_info, Referee_Interactive_info_t *_Interactive_data)
|
||||
{
|
||||
// syhtodo 按键刷新
|
||||
|
||||
Mode_Change_Check(_Interactive_data);
|
||||
// chassis
|
||||
if (_Interactive_data->Referee_Interactive_Flag.chassis_flag == 1)
|
||||
|
||||
@@ -24,7 +24,7 @@ void RobotInit()
|
||||
#endif
|
||||
|
||||
#if defined(ONE_BOARD) || defined(CHASSIS_BOARD)
|
||||
Referee_Interactive_init();//syh
|
||||
Referee_Interactive_init();
|
||||
ChassisInit();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user