4310能转,但不受遥控控制

This commit is contained in:
guoxy06
2026-03-13 18:37:58 +08:00
parent bd9314aa7a
commit 3add7c5eb2
4 changed files with 116 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ void GimbalInit()
.close_loop_type = SPEED_LOOP | ANGLE_LOOP,
.motor_reverse_flag = MOTOR_DIRECTION_NORMAL,
},
.motor_type = M3508,
.motor_type = DM4310,
};
// 电机对total_angle闭环,上电时为零,会保持静止,收到遥控器数据再动
yaw_motor = DJIMotorInit(&yaw_config);