mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
19 lines
281 B
C
19 lines
281 B
C
#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
|