mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-25 03:47:47 +08:00
确定双板/单板兼容的整体框架
This commit is contained in:
19
application/gimbal/gimbal.h
Normal file
19
application/gimbal/gimbal.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef GIMBAL_H
|
||||
#define GIMBAL_H
|
||||
|
||||
#include "robot_def.h"
|
||||
#include "dji_motor.h"
|
||||
#include "ins_task.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
IMU_Data_t Gimbal_IMU_data;
|
||||
dji_motor_instance yaw;
|
||||
dji_motor_instance pitch;
|
||||
} gimbal;
|
||||
|
||||
void GimbalInit();
|
||||
|
||||
void GimbalTask();
|
||||
|
||||
#endif //GIMBAL_H
|
||||
Reference in New Issue
Block a user