shoot/User/module/dji.h
2025-04-05 16:11:38 +08:00

26 lines
355 B
C

#ifndef _DJI_H_
#define _DJI_H_
#include "pid.h"
#include "djiMotor.h"
typedef enum
{
MOTOR_UP = 0,
MOTOR_TURN = 1,
MOTOR_RING_RIGHT = 2,
MOTOR_RING_LEFT = 3,
MOTOR_NUM
}motorput_e;
//float t_angleSet[1]; //位置环
void motor_init(void);
void trigger_pos(fp32 angle);
void my_GM6020_control(fp32 angle);
#endif